import type { Instance } from '../types.js'; import type { ControlPlaneClientConfig, ControlPlaneOrganization, ControlPlaneRegion, CreateInstanceRequest } from './types.js'; /** Hosted project operations delegated to Inth's authenticated native executable. */ export declare class ControlPlaneClient { private readonly config; constructor(config?: ControlPlaneClientConfig); /** Run Inth, explaining a leftover pre-Inth c15t session when signed out. */ private run; private detail; private list; /** List all organizations available through Inth. */ listOrganizations(): Promise; /** List current project regions without legacy backend-version filtering. */ listRegions(): Promise; /** List all projects in Inth's linked or selected organization. */ listInstances(): Promise; /** Read a project by its ID. */ getInstance(id: string): Promise; /** Create a consent project through Inth's current provisioning command. */ createInstance(request: CreateInstanceRequest): Promise; } /** Create an adapter; authentication and token refresh remain inside Inth. */ export declare const createControlPlaneClient: (config?: ControlPlaneClientConfig) => Promise; /** Create an adapter in the application directory so Inth resolves its organization link. */ export declare const createControlPlaneClientFromConfig: (cwd?: string) => Promise;