import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; import type { GrafanaHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; /** * @internal */ export interface HttpAuthExtensionConfiguration { setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; httpAuthSchemes(): HttpAuthScheme[]; setHttpAuthSchemeProvider(httpAuthSchemeProvider: GrafanaHttpAuthSchemeProvider): void; httpAuthSchemeProvider(): GrafanaHttpAuthSchemeProvider; setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; } /** * @internal */ export type HttpAuthRuntimeConfig = Partial<{ httpAuthSchemes: HttpAuthScheme[]; httpAuthSchemeProvider: GrafanaHttpAuthSchemeProvider; credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; }>; /** * @internal */ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; /** * @internal */ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;