/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import { type StudioApiKey, type StudioApiKeysCreateResponse } from "@/lib/api-keys-shape";
export interface UseApiKeysResult {
    keys: StudioApiKey[];
    canCreate: boolean;
    canDelete: boolean;
    error: string | null;
    actionError: string | null;
    loading: boolean;
    creating: boolean;
    deletingKeyId: string | null;
    reload(): Promise<void>;
    create(name: string): Promise<StudioApiKeysCreateResponse>;
    deleteKey(keyId: string): Promise<void>;
    clearActionError(): void;
}
export declare function useApiKeys(): UseApiKeysResult;
