import { IDP } from './common';
import { UseInitIDPRedirectProps } from './useInitIDPRedirect';
export interface UseIDPAutoInitProps {
    providers: readonly IDP[];
    onError?: UseInitIDPRedirectProps['onError'];
}
export type IDPAutoInitState = {
    type: 'nothing';
} | {
    type: 'processing';
} | {
    type: 'failed';
    error: string;
};
export declare const useIDPAutoInit: ({ onError, providers }: UseIDPAutoInitProps) => IDPAutoInitState;
//# sourceMappingURL=useIDPAutoInit.d.ts.map