/** * Selects a named authorization provider for each request. * * @packageDocumentation */ import type { Authenticator, AuthorizationOptions, Provider } from './provider.js'; /** Selects exactly one named authorization provider for each RPC. */ export declare class OneOfProvider implements Provider { private readonly providers; /** Null entries allow explicitly selected requests without authorization. */ constructor(providers: Readonly>); /** Selects the provider named by options.selector; a null entry skips authorization. */ authenticator(options?: AuthorizationOptions): Authenticator; /** Closes each distinct provider and rejects with AggregateError if any close fails. */ close(graceMs?: number): Promise; } //# sourceMappingURL=one_of.d.ts.map