import { IContext, IResponse } from '../../types';
import { IGenAiOpenAIKey, IGenAiExternalApiKeyUpdateRequest } from '..';
export interface IUpdateOpenAIKeyApiResponse {
    openai_key: IGenAiOpenAIKey;
}
export interface IUpdateOpenAIKeyApiRequest {
    key_uuid: string;
    updates: IGenAiExternalApiKeyUpdateRequest;
}
export type UpdateOpenAIKeyResponse = IResponse<IUpdateOpenAIKeyApiResponse>;
export declare const updateOpenAIKey: ({ httpClient }: IContext) => ({ key_uuid, updates }: IUpdateOpenAIKeyApiRequest) => Promise<Readonly<UpdateOpenAIKeyResponse>>;
