import { type AppStateContextValue } from './AppStateContext.js'; /** * @internal */ export interface _SetOptions { validUntilTime?: string | null; } /** * @internal */ export type _UseAppStateResult = { value: T | undefined; isLoading: boolean; error: Error | null; setValue: (value: T | ((prev: T | undefined) => T), options?: _SetOptions) => Promise; remove: () => Promise; }; type MutateFns = { set: (key: string, value: string, validUntilTime: string | null | undefined) => Promise; remove: (key: string) => Promise; }; export declare const userScopedMutateFns: MutateFns; export declare const appScopedMutateFns: MutateFns; /** * @internal */ export declare function useAppStateInternal(key: string, mutateFns: MutateFns, { store: activeStore, scope, queryClient }: AppStateContextValue): _UseAppStateResult; export {};