export declare function getPasscode(): string | null; export declare function fetchToken(name: string, room: string, passcode: string, create_room?: boolean, create_conversation?: boolean): Promise; export declare function verifyPasscode(passcode: string): Promise<{ isValid: boolean; error: any; } | { isValid: boolean; error?: undefined; } | undefined>; export declare function getErrorMessage(message: string): string; export default function usePasscodeAuth(): { user: { displayName: undefined; photoURL: undefined; passcode: string; } | null; isAuthReady: boolean; getToken: (name: string, room: string) => Promise; signIn: (passcode: string) => Promise; signOut: () => Promise; updateRecordingRules: (room_sid: any, rules: any) => Promise; };