import { AwsCredentialIdentity, AwsCredentialIdentityProvider, RequestSigner } from "@aws-sdk/types"; export interface MapAuthenticationOptions { transformRequest: (url: string, resourceType?: string) => { url: string; }; } export interface LocationClientConfig { signer?: RequestSigner; credentials?: AwsCredentialIdentityProvider; region?: string; } export type getMapAuthenticationOptionsFunc = () => MapAuthenticationOptions; export type getLocationClientConfigFunc = () => LocationClientConfig; export type getCredentialsFunc = () => AwsCredentialIdentity; export interface MapAuthHelper { getMapAuthenticationOptions: getMapAuthenticationOptionsFunc; getCredentials: getCredentialsFunc; } export interface SDKAuthHelper { /** @deprecated This method has been deprecated in favor of {@link getClientConfig} */ getLocationClientConfig: getLocationClientConfigFunc; getClientConfig: getLocationClientConfigFunc; }