import type { MoteurClient } from '../client.js'; export type ProjectApiKeyMeta = { id: string; prefix: string; createdAt: string; label?: string; expiresAt?: string; expired?: boolean; allowedHosts: string[]; allowedCollectionIds?: string[]; allowSiteWideReads?: boolean; }; export type ProjectApiKeyCreateBody = { label?: string; expiresAt?: string | null; allowedCollectionIds?: string[]; allowSiteWideReads?: boolean; }; export type ProjectApiKeyCreateResponse = ProjectApiKeyMeta & { rawKey: string; message: string; }; export type ProjectApiKeyPatchBody = { label?: string | null; expiresAt?: string | null; allowedHosts?: string[]; allowedCollectionIds?: string[] | null; allowSiteWideReads?: boolean; }; export declare function projectApiKeysApi(client: MoteurClient): { list(projectId: string): Promise; create(projectId: string, body?: ProjectApiKeyCreateBody): Promise; rotate(projectId: string, keyId: string): Promise; revoke(projectId: string, keyId: string): Promise; patch(projectId: string, keyId: string, body: ProjectApiKeyPatchBody): Promise; }; //# sourceMappingURL=apiKeys.d.ts.map