import { AuthorizationHeaderProvider } from '../../http';
import { TwinfinityHttpClient } from '@twinfinity/authentication';
/**
 * Wraps an {@link AuthorizationHeaderProvider} with error handling and telemetry logging.
 * If the provider throws, the error is logged and `undefined` is returned.
 * @param tokenProvider - The authorization header provider to wrap.
 * @returns A new {@link AuthorizationHeaderProvider} that catches errors and logs them.
 */
export declare function wrapAuthorizationHeaderProvider(tokenProvider: AuthorizationHeaderProvider): AuthorizationHeaderProvider;
/**
 * Creates a {@link TwinfinityHttpClient} from a session and application name.
 * If a session is provided, creates an authenticated client; otherwise creates an anonymous client.
 * @param options - Options containing optional session and application name.
 * @returns A configured {@link TwinfinityHttpClient}.
 */
export declare function createTwinfinityHttpClient(options?: {
    session?: {
        getAuthorizationHeader: () => Promise<string>;
    };
    applicationName?: string;
}): TwinfinityHttpClient;
//# sourceMappingURL=AuthHelpers.d.ts.map