import { type UnknownAction } from "@reduxjs/toolkit";
import type { LoginData } from "./types";
export declare const REFRESH_LOCALE = "metabase/user/REFRESH_LOCALE";
export declare const refreshLocale: import("@reduxjs/toolkit").AsyncThunk<void, void, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const PAUSE_REDIRECT = "metabase/user/PAUSE_REDIRECT";
export declare const pauseRedirect: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"metabase/user/PAUSE_REDIRECT">;
export declare const REFRESH_SESSION = "metabase/auth/REFRESH_SESSION";
export declare const refreshSession: import("@reduxjs/toolkit").AsyncThunk<void, void, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
interface LoginPayload {
    data: LoginData;
    redirectUrl?: string;
}
export declare const LOGIN = "metabase/auth/LOGIN";
export declare const login: import("@reduxjs/toolkit").AsyncThunk<undefined, LoginPayload, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
interface LoginGooglePayload {
    credential: string;
    redirectUrl?: string;
}
export declare const LOGIN_GOOGLE = "metabase/auth/LOGIN_GOOGLE";
export declare const loginGoogle: import("@reduxjs/toolkit").AsyncThunk<undefined, LoginGooglePayload, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const LOGOUT = "metabase/auth/LOGOUT";
export declare const logout: import("@reduxjs/toolkit").AsyncThunk<undefined, string | undefined, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const FORGOT_PASSWORD = "metabase/auth/FORGOT_PASSWORD";
export declare const forgotPassword: import("@reduxjs/toolkit").AsyncThunk<undefined, string, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
interface ResetPasswordPayload {
    token: string;
    password: string;
}
export declare const RESET_PASSWORD = "metabase/auth/RESET_PASSWORD";
export declare const resetPassword: import("@reduxjs/toolkit").AsyncThunk<undefined, ResetPasswordPayload, {
    state: import("..-types/store").State;
    dispatch?: import("@reduxjs/toolkit").ThunkDispatch<unknown, unknown, UnknownAction> | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const validatePassword: (password: string) => Promise<any>;
export {};
