import { ApiKeyRecord, ApiKeyRecordWithToken } from './types';
import { ApiKeyActionNotAllowed } from './errors';
export declare type CreateApiKeySuccess = ApiKeyRecordWithToken;
export declare type CreateApiKeyError = {
    error: ApiKeyActionNotAllowed;
};
export declare type CreateApiKeyResponse = CreateApiKeySuccess | CreateApiKeyError;
export declare type ListApiKeysSuccess = {
    items: ApiKeyRecord[];
};
export declare type ListApiKeysError = {
    error: any;
};
export declare type ListApiKeysResponse = ListApiKeysSuccess | ListApiKeysError;
export declare type RevokeApiKeySuccess = ApiKeyRecord;
export declare type RevokeApiKeyError = {
    error: ApiKeyActionNotAllowed;
};
export declare type RevokeApiKeyResponse = RevokeApiKeySuccess | RevokeApiKeyError;
export declare type GetApiKeyByIdSuccess = ApiKeyRecord;
export declare type GetApiKeyByIdError = {
    error: any;
};
export declare type GetApiKeyByIdResponse = GetApiKeyByIdSuccess | GetApiKeyByIdError;
