import { T as Tenant, C as CreateTenantInput, P as PluginInfo, a as ConnectionStatus, b as PermissionRecord, c as ConnectLink, d as CreateConnectLinkInput, O as OAuthCallbackResult, e as OAuthCallbackInput } from '../../types-Bsv_KdHs.js'; export { f as PermissionLookupInput } from '../../types-Bsv_KdHs.js'; import { C as CorsairClientOptions, a as CorsairManagementClient } from '../../types-MvrzaDrs.js'; import '../../index-eydqYIn0.js'; import 'zod'; type AsyncState = { status: 'idle'; data: null; error: null; loading: false; } | { status: 'loading'; data: null; error: null; loading: true; } | { status: 'success'; data: T; error: null; loading: false; } | { status: 'error'; data: null; error: Error; loading: false; }; type CorsairReactClientOptions = CorsairClientOptions; declare function createCorsairReactClient(opts: CorsairReactClientOptions): { client: CorsairManagementClient; useTenants: () => AsyncState & { refetch: () => void; }; useTenant: (id: string) => AsyncState & { refetch: () => void; }; useCreateTenant: () => { data: Tenant | null; loading: boolean; error: Error | null; mutate: (input: CreateTenantInput) => Promise; }; usePlugins: () => AsyncState & { refetch: () => void; }; usePlugin: (id: string) => AsyncState & { refetch: () => void; }; useConnectionStatus: (query?: { tenantId?: string; }) => AsyncState & { refetch: () => void; }; usePermission: (input: { id: string; } | { token: string; }) => AsyncState & { refetch: () => void; }; useCreateConnectLink: () => { data: ConnectLink | null; loading: boolean; error: Error | null; mutate: (input: CreateConnectLinkInput) => Promise; }; useOAuthCallback: () => { data: OAuthCallbackResult | null; loading: boolean; error: Error | null; mutate: (input: OAuthCallbackInput) => Promise; }; }; export { type AsyncState, ConnectLink, ConnectionStatus, type CorsairReactClientOptions, CreateConnectLinkInput, CreateTenantInput, OAuthCallbackInput, OAuthCallbackResult, PermissionRecord, PluginInfo, Tenant, createCorsairReactClient };