export declare const authorize: (data: IAuthorizeRequestData) => Promise; export declare const signUp: (data: ISignupRequestData) => Promise; export declare const register: (data: FormData) => Promise; export declare const getProfileData: () => Promise; export declare const logout: () => Promise; /** * Checks whether a given email address already exists via the `/ajax/contact-email` endpoint. * * The underlying API is expected to return a JSON object containing: * - `exists`: `1` if the email exists, `0` otherwise * - `error`: `1` if an error occurred, `0` otherwise * - `message`: an optional error message when `error === 1` * * This function normalizes that response to an object with: * - `exists`: a boolean indicating whether the email exists * - `error`: an optional string containing an error message, if any * * On network or unexpected errors, it returns `{ exists: false, error: 'Failed to check email' }`. * * @param {string} email - The email address to check for existence. * @returns {Promise<{ exists: boolean; error?: string }>} A promise that resolves to the normalized * result of the email existence check. */ export declare const checkEmailExists: (email: string) => Promise<{ exists: boolean; error?: string; }>;