import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Cw2mNJeR.js';

type ApiKey = {
    id: string;
    name: string;
    permission: "full_access";
    token: string;
    ip_whitelist?: string[];
    unkey_id: string;
    last_used_at: string | null;
    instance_id: string;
    created_at: string;
    updated_at: string;
};
type ListApiKeysInput = {
    instanceId: string;
};
type ListApiKeysResponse = ApiKey[];
type CreateApiKeyInput = {
    instanceId: string;
    name: string;
    permission: "full_access";
    ip_whitelist?: string[];
};
type CreateApiKeyResponse = {
    id: string;
    token: string;
};
type GetApiKeyInput = {
    instanceId: string;
    id: string;
};
type GetApiKeyResponse = ApiKey;
type DeleteApiKeyInput = {
    instanceId: string;
    id: string;
};
declare function createApiKeysResource(client: InternalApiClient): {
    list({ instanceId }: ListApiKeysInput): Promise<BlindpayApiResponse<ListApiKeysResponse>>;
    create({ instanceId, ...data }: CreateApiKeyInput): Promise<BlindpayApiResponse<CreateApiKeyResponse>>;
    get({ instanceId, id }: GetApiKeyInput): Promise<BlindpayApiResponse<GetApiKeyResponse>>;
    delete({ instanceId, id }: DeleteApiKeyInput): Promise<BlindpayApiResponse<void>>;
};

export { type CreateApiKeyInput, type CreateApiKeyResponse, type DeleteApiKeyInput, type GetApiKeyInput, type GetApiKeyResponse, type ListApiKeysInput, type ListApiKeysResponse, createApiKeysResource };
