import { IDP } from './common';
export interface UseInitIDPRedirectProps {
    onError?: (message: string) => void;
}
export declare const useInitIDPRedirect: ({ onError }: UseInitIDPRedirectProps) => ({ provider }: IDP) => Promise<{
    ok: true;
} | {
    ok: false;
    error: string;
}>;
//# sourceMappingURL=useInitIDPRedirect.d.ts.map