import type { MetabaseFetchRequestTokenFn } from "..";
type BaseMetabaseAuthConfig = {
    metabaseInstanceUrl: string;
    /**
     * Specifies a function to fetch the refresh token.
     * The refresh token should be in the format of { id: string, exp: number }
     */
    fetchRequestToken?: MetabaseFetchRequestTokenFn;
};
export type MetabaseAuthConfigWithProvider = BaseMetabaseAuthConfig & {
    authProviderUri: string;
    apiKey?: never;
};
export type MetabaseAuthConfigWithApiKey = BaseMetabaseAuthConfig & {
    apiKey: string;
    authProviderUri?: never;
};
export type MetabaseAuthConfig = MetabaseAuthConfigWithProvider | MetabaseAuthConfigWithApiKey;
export {};
