import type { AuthStrategy, FetchInit } from './types.js'; /** * Basic authentication strategy for WebDAV operations. * * Encodes username and access key as Base64 for HTTP Basic auth. * Implements the {@link AuthStrategy} interface. * * @example * ```typescript * import { BasicAuthStrategy } from '@salesforce/b2c-tooling-sdk'; * * const auth = new BasicAuthStrategy('username', 'access-key'); * const response = await auth.fetch('https://webdav.example.com/path'); * ``` */ export declare class BasicAuthStrategy implements AuthStrategy { private encoded; /** * Creates a new BasicAuthStrategy instance for HTTP Basic authentication. * * @param user - The username for Basic authentication * @param pass - The password or access key for Basic authentication */ constructor(user: string, pass: string); fetch(url: string, init?: FetchInit): Promise; getAuthorizationHeader(): Promise; }