import { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@aws-sdk/types"; import { MapAuthHelper, SDKAuthHelper } from "./types"; /** * Creates a transformRequest function that signs Amazon Location Service URLs using SigV4. * * @param region AWS region used for signing. * @param getCredentials Function that returns the current credentials. */ export declare function createTransformRequest(region: string, getCredentials: () => AwsCredentialIdentity): (url: string, resourceType?: string) => { url: string; }; /** * Sets up automatic credential refresh. Credentials are refreshed 1 minute before expiration, or every hour if no * expiration is provided. * * @param credentialProvider Function that fetches fresh credentials. * @returns A function that returns the current credentials after the initial fetch. */ export declare function setupCredentialRefresh(credentialProvider: AwsCredentialIdentityProvider): Promise<() => AwsCredentialIdentity>; /** * Builds a complete MapAuthHelper & SDKAuthHelper from a credentials provider and region. * * @param credentialProvider Function that fetches AWS credentials. * @param region AWS region for signing and client config. */ export declare function buildAuthHelper(credentialProvider: AwsCredentialIdentityProvider, region: string): Promise;