import type { APIPromise, HttpClient } from "../http.js"; import type { NetworkId } from "../chains/index.js"; import type { BackpackStatusInput, BackpackStatusResponse, GatedConnectInput, GatedConnectResponse, GatedDisconnectInput, GatedGrantInput, GatedListInput, GatedListResponse, GatedWriteResponse } from "../types/index.js"; interface Context { getWalletMaybe(): { address: string | null; network: NetworkId | null; }; getTokenMaybe(): string | null; } interface Options { signal?: AbortSignal; timeoutMs?: number; } export declare class GatedResource { private readonly client; private readonly ctx; constructor(client: HttpClient, ctx: Context); list(input?: GatedListInput, options?: Options): APIPromise; connect(input: GatedConnectInput, options?: Options): APIPromise; grant(input: GatedGrantInput, options?: Options): APIPromise; revoke(input: GatedGrantInput, options?: Options): APIPromise; disconnect(input: GatedDisconnectInput, options?: Options): APIPromise; status(input: BackpackStatusInput, options?: Options): APIPromise; } export {}; //# sourceMappingURL=gated.d.ts.map