export interface ApiKey { id: string; projectId: string; tenantId: string; workspaceId?: string; name: string; scopes: string[]; expiresAt?: Date; lastUsedAt?: Date; createdAt: Date; } export declare function createApiKey(opts: { projectId: string; tenantId: string; workspaceId?: string; name: string; scopes?: string[]; expiresInDays?: number; }): Promise<{ key: string; record: ApiKey; }>; export declare function validateApiKey(key: string): Promise<{ valid: boolean; projectId?: string; tenantId?: string; workspaceId?: string; scopes?: string[]; }>; export declare function listApiKeys(projectId: string): Promise; export declare function revokeApiKey(id: string): Promise; //# sourceMappingURL=api-keys.d.ts.map