import * as s from '../schemas'; import type { Transport } from './transport'; export declare function profilesClient(t: Transport): { listSettingsProfiles: (signal?: AbortSignal) => Promise<{ name: string; description: string; }[]>; getSettingsProfile: (name: string, signal?: AbortSignal) => Promise<{ description: string; env: Record; secret_keys: string[]; }>; putSettingsProfile: (name: string, body: s.SettingsProfileBody) => Promise<{ ok: true; version?: number | undefined; }>; deleteSettingsProfile: (name: string) => Promise<{ ok: true; }>; diffSettingsProfile: (name: string) => Promise<{ added: string[]; removed: string[]; changed: { key: string; old: string; new: string; }[]; recycle_keys: string[]; refused_keys: string[]; }>; applySettingsProfile: (name: string) => Promise<{ hot: string[]; recycle: { name: string; kind: string; status: string; generation_before: number; }[]; fresh: { name: string; kind: string; generation: number; }[]; refused: { key: string; reason: string; }[]; fanout: { mode: "local-only"; note: string; } | { op: string; reachable: boolean; local_only: boolean; results: { name: string; outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out"; payload: unknown; error: string | null; detail: string | null; }[]; error: string | null; mode: "fleet"; } | { op: string; reachable: boolean; local_only: boolean; results: { name: string; outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out"; payload: unknown; error: string | null; detail: string | null; }[]; error: string | null; mode: "unreachable"; }; }>; listSettingsProfileVersions: (name: string, signal?: AbortSignal) => Promise<{ version: number; tags: string[]; created_at: string; is_current: boolean; }[]>; getSettingsProfileVersion: (name: string, version: number, signal?: AbortSignal) => Promise<{ version: number; tags: string[]; created_at: string; is_current: boolean; body: { description: string; env: Record; secret_keys: string[]; }; }>; rollbackSettingsProfile: (name: string, version: number) => Promise<{ ok: true; version: number; }>; }; //# sourceMappingURL=profiles-client.d.ts.map