export declare const DEFAULT_AUTH_LEGAL_CONSENT_STORAGE_KEY = "@orcestr/auth-forms:legal-consent"; export type AuthLegalDocumentVersion = { id: string; version: string; required?: boolean; }; export type AuthLegalConsentStorageOptions = { key?: string; }; export type StoredAuthLegalDocumentVersion = { id: string; version: string; }; export type AuthLegalConsentStorageRecord = { schemaVersion: 1; acceptedDocuments: StoredAuthLegalDocumentVersion[]; }; export declare function parseAuthLegalConsentStorage(value: string | null): AuthLegalConsentStorageRecord | null; export declare function createAuthLegalConsentStorageRecord(documents: readonly AuthLegalDocumentVersion[]): AuthLegalConsentStorageRecord; export declare function restoreAcceptedAuthLegalDocuments(documents: readonly TDocument[], record: AuthLegalConsentStorageRecord | null): TDocument[]; export declare function hasCurrentRequiredAuthLegalConsent(documents: readonly AuthLegalDocumentVersion[], record: AuthLegalConsentStorageRecord | null): boolean; export declare function readAuthLegalConsentStorage(options: false | AuthLegalConsentStorageOptions | undefined): AuthLegalConsentStorageRecord | null; export declare function writeAuthLegalConsentStorage(options: false | AuthLegalConsentStorageOptions | undefined, record: AuthLegalConsentStorageRecord): void; //# sourceMappingURL=legalConsentStorage.d.ts.map