import { JsonObject, Observable } from '@backstage/types';
import { AsyncConfigSourceGenerator, ConfigSource } from './types';
/**
 * Options for {@link StaticConfigSource.create}.
 *
 * @public
 */
export interface StaticConfigSourceOptions {
    data: JsonObject | Observable<JsonObject> | PromiseLike<JsonObject> | AsyncIterable<JsonObject>;
    context?: string;
}
/**
 * A configuration source that reads from a static object, promise, iterable, or observable.
 *
 * @public
 */
export declare class StaticConfigSource implements ConfigSource {
    private readonly promise;
    private readonly context;
    /**
     * Creates a new {@link StaticConfigSource}.
     *
     * @param options - Options for the config source
     * @returns A new static config source
     */
    static create(options: StaticConfigSourceOptions): ConfigSource;
    private constructor();
    readConfigData(): AsyncConfigSourceGenerator;
    toString(): string;
}
