import { useQuery } from "@tanstack/react-query"; export declare const GpgStatusState: { readonly READY: "ready"; readonly LOADING: "loading"; readonly SUCCESS: "success"; readonly ERROR: "error"; }; export type GpgStatusState = (typeof GpgStatusState)[keyof typeof GpgStatusState]; export type GpgConfig = { getNonce: () => Promise; onSign: (cred: { username: string; password: string; message: string; }) => Promise | boolean | void; buildMessage: (args: { nonce: string; }) => string; enabled?: boolean; nonceRefetchInterval?: number | false; subscribeNonceReset?: (listener: () => void) => () => void; }; export type GpgContextValue = Required> & { subscribeNonceReset?: GpgConfig["subscribeNonceReset"]; nonce: ReturnType>; message: string | null; command: string | null; status: GpgStatusState; signIn: (pastedBlob: string) => Promise; resetStatus: () => void; }; export declare const GpgContext: import("react").Context; //# sourceMappingURL=GpgContext.d.ts.map