import type { APIPromise, HttpClient } from "../http.js"; import type { NetworkId } from "../chains/index.js"; import type { PermissionGrantInput, PermissionListInput, PermissionListResponse, PermissionRevokeInput, PermissionWriteResponse } 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 PermissionsResource { private readonly client; private readonly ctx; constructor(client: HttpClient, ctx: Context); list(input: PermissionListInput, options?: Options): APIPromise; grant(input: PermissionGrantInput, options?: Options): APIPromise; revoke(input: PermissionRevokeInput, options?: Options): APIPromise; } export {}; //# sourceMappingURL=permissions.d.ts.map