/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
export interface StudioSecret {
    name: string;
    connection: string | null;
    set: boolean;
    origin: "runtime-env-ref" | "local-secrets-env" | "external-env";
    isSystem: boolean;
    hidden: boolean;
    canUpdate: boolean;
    canDelete: boolean;
    canReveal: boolean;
    updatedAt: string | null;
}
export interface UseSecretsResult {
    secrets: StudioSecret[];
    loading: boolean;
    error: string | null;
    saving: string | null;
    revealing: string | null;
    revealed: Record<string, string>;
    refresh(): Promise<void>;
    saveSecret(name: string, value: string): Promise<void>;
    deleteSecret(name: string): Promise<void>;
    revealSecret(name: string): Promise<void>;
    clearReveal(name: string): void;
}
export declare function useSecrets(): UseSecretsResult;
