import type { Client, TokenSet } from "openid-client"; import type { ApiClientConfig } from "./schema/config"; declare const _default: ({ client, config, }: { client: Client; config: ApiClientConfig; }) => { exchangeCodeForTokensLegacy: ({ state, code, nonce, id_token, }: { state: string; code: string; nonce: string; id_token?: string | undefined; }) => Promise; exchangeCodeForTokens: (options: import("./exchange-code-for-token").ExchangeCodeForTokensOptions) => Promise; exchangeCodeForTokensUsingPKCE: (options: import("./exchange-code-for-token").ExchangeCodeForTokensUsingPKCEOptions) => Promise; refreshTokens: ({ refreshToken }: { refreshToken: string | TokenSet; }) => Promise; getClientCredentialTokens: ({ scope, sub }: { scope: string; sub?: string | undefined; }) => Promise; getJWTBearerToken: ({ scope, sub }: { scope: string; sub: string; }) => Promise; createJWTBearerGrantToken: (subject: string) => Promise; }; export default _default; //# sourceMappingURL=tokens.d.ts.map