import { FC, PropsWithChildren } from 'react';
export interface DocumentPasswordContextType {
    password?: string;
    setPassword: React.Dispatch<React.SetStateAction<string | undefined>>;
    passwordError?: string;
    setPasswordError: React.Dispatch<React.SetStateAction<string | undefined>>;
    passwordRequired?: boolean;
    setPasswordRequired: React.Dispatch<React.SetStateAction<boolean | undefined>>;
    invalidPassword?: boolean;
}
declare const DocumentPasswordContext: React.Context<DocumentPasswordContextType>;
export declare const DocumentPasswordProvider: FC<PropsWithChildren>;
export declare const useDocumentPasswordContext: () => DocumentPasswordContextType;
export default DocumentPasswordContext;
