import type { BungieTokenResponse, NextBungieAuthConfig } from "../types";
/** @internal */
export declare const getTokens: ({ grantType, value, }: {
    grantType: "authorization_code" | "refresh_token";
    value: string;
}, config: NextBungieAuthConfig) => Promise<BungieTokenResponse>;
/** @internal */
export declare const encodeToken: (data: string, config: NextBungieAuthConfig) => string;
/** @internal */
export declare const decodeToken: (encodedStr: string | undefined, config: NextBungieAuthConfig) => string | null;
