import type { ReactNode } from 'react'; import type { DHAKeyObject } from 'dha-encryption'; import { LoginDatabase } from '../database/Database'; interface IDatabaseProviderProps { customPassword?: string; children: ReactNode; } interface EncryptedDatabase { DHA_Key: DHAKeyObject | undefined; database: LoginDatabase; } export declare const LoginDatabaseContext: import("react").Context; /** * Provider for LoginDatabaseContext * * @param customPassword (string) - optional password used to generate a key for database encryption. * @remarks * Should wrap any & all components that need LoginDb access, including AuthProvider * * @example * ```javascript * * * * * * ``` */ export declare const LoginDatabaseProvider: ({ customPassword, children }: IDatabaseProviderProps) => import("react/jsx-runtime").JSX.Element; export {};