import { S2AccessTokens } from "./accessTokens.js"; import { S2Basin } from "./basin.js"; import { S2Basins } from "./basins.js"; import type { S2ClientOptions } from "./common.js"; import { S2Locations } from "./locations.js"; import { S2Metrics } from "./metrics.js"; /** * Top-level S2 SDK client. * * - Authenticates with an access token and exposes account-scoped helpers for basins, streams, access tokens and metrics. */ export declare class S2 { private readonly accessToken; private readonly client; private readonly endpoints; private readonly retryConfig; private readonly compression?; /** * Account-scoped basin management operations. * * - List, create, ensure, delete and reconfigure basins. */ readonly basins: S2Basins; /** Manage access tokens for the account (list, issue, revoke). */ readonly accessTokens: S2AccessTokens; /** Account location operations. */ readonly locations: S2Locations; /** Account, basin and stream level metrics. */ readonly metrics: S2Metrics; /** * Create a new S2 client. * * @param options Access token configuration. */ constructor(options: S2ClientOptions); /** * Create a basin-scoped client bound to a specific basin name. * * @param name Basin name (8-48 characters, lowercase alphanumeric and hyphens, no leading/trailing hyphens). * @throws {S2Error} If the basin name is invalid. */ basin(name: string): S2Basin; } //# sourceMappingURL=s2.d.ts.map