import { SdkBase } from './SdkBase.js';
export type AuthProviders = 'google' | 'github' | 'linkedin';
export interface AuthRedirectOptions {
    /**
     * The path or the full URL
     */
    redirect?: string;
    /**
     * The invitation token to register the user in a specific organization.
     */
    token?: string;
    /**
     * Whether to `redirect` the current tab or to create a new one
     */
    type?: 'redirect' | 'tab';
}
export declare class AuthSdk extends SdkBase {
    /**
     * Redirects to the API server to perform authentication for a given provider.
     *
     * @param provider The provider to use
     * @param redirect The path or the full URL
     */
    oauthRedirect(provider: AuthProviders, opts?: AuthRedirectOptions): Window | null;
}
//# sourceMappingURL=AuthSdk.d.ts.map