export type Headers = Record<string, string | string[]>;
export type OAuth2GrantType = 'pkce' | 'authorizationCode' | 'clientCredentials';
export interface OAuth2CredentialData {
    clientId: string;
    clientSecret?: string;
    accessTokenUrl: string;
    authentication?: 'header' | 'body';
    authUrl?: string;
    scope?: string;
    authQueryParameters?: string;
    additionalBodyProperties?: string;
    grantType: OAuth2GrantType;
    ignoreSSLIssues?: boolean;
    oauthTokenData?: {
        access_token: string;
        refresh_token?: string;
    };
}
export interface OAuth2AccessTokenErrorResponse extends Record<string, unknown> {
    error: string;
    error_description?: string;
    error_uri?: string;
}
