import { type AuthMetricsInput } from '../../metrics.js'; import { Bearer, Receiver } from '../../token.js'; import { custom, customJson, Logger } from '../../util/logging.js'; /** * Reads one named token only from the shared token-cache file. * * This bearer cannot obtain or renew a missing token. It returns an empty token * when the entry is absent or expired. It is mainly a building block for * composed credential flows. */ export declare class PureFileCacheBearer extends Bearer { [custom]: () => string; private logger?; /** Contains the fully qualified runtime type name. */ readonly $type = "nebius.sdk.PureFileCacheBearer"; private readonly _name; private readonly cache; private readonly metrics; /** Creates a new pure file cache bearer. */ constructor(name: string, cacheFile?: string, throttleMs?: number, logger?: Logger | undefined, metrics?: AuthMetricsInput, provider?: string); /** Returns a JSON-safe value for logs. */ [customJson](): unknown; /** Returns the credential name. */ get name(): string | undefined; /** Creates a token receiver. */ receiver(): Receiver; /** Sets the metrics. */ setMetrics(metrics: AuthMetricsInput): void; } export { AsyncRenewableBearer as AsynchronousRenewableFileCacheBearer } from './async_renewable_bearer.js'; export { RenewableFileCacheBearer } from './renewable_bearer.js'; //# sourceMappingURL=file_bearer.d.ts.map