import { QueryResultStatus } from '../model';
export interface PromiseStateParams<T> {
    createPromise: () => Promise<T>;
}
export declare class PromiseState<T> {
    private readonly createPromise;
    status: QueryResultStatus<T, unknown>;
    constructor(params: Readonly<PromiseStateParams<T>>);
    fetchOnce: () => Promise<void>;
    fetch(): Promise<void>;
}
//# sourceMappingURL=PromiseState.d.ts.map