import { APIErrorResponse } from '../serviceHelpers/APIErrorResponse';
import { UserIdentity } from './userIdentity';
interface Props {
    client_id: string;
    code_verifier: string;
    redirect_uri: string;
    code: string;
}
interface OIDCToken {
    access_token: string;
    refresh_token: string;
    id_token: string;
    expires_in: number;
}
export declare function isOIDCToken(object: any): object is OIDCToken;
export default function signInWithOIDCPKCE({ client_id, code_verifier, redirect_uri, code }: Props): Promise<APIErrorResponse | UserIdentity>;
export {};
