import type { MoteurClient } from '../client.js'; type SchemaKind = 'blocks' | 'structures'; /** * The operator's view of the whole server: every project, every account, every plugin, * and the server-wide blocks and structures. Requires an account with the `admin` role. */ export declare function operatorApi(client: MoteurClient): { summary(): Promise>; projects: { list(): Promise<{ projects: Record[]; }>; setPlugins(projectId: string, plugins: string[] | null): Promise<{ project: Record; }>; }; users: { list(): Promise<{ users: Record[]; }>; update(userId: string, body: Record): Promise<{ user: Record; }>; }; plugins: { list(): Promise<{ plugins: Record[]; }>; set(pluginId: string, on: boolean | null): Promise<{ plugin: Record; }>; }; schemas: { list(kind: SchemaKind): Promise<{ items: Record[]; }>; save(kind: SchemaKind, name: string, schema: Record): Promise<{ item: Record; }>; delete(kind: SchemaKind, name: string): Promise; }; }; export {}; //# sourceMappingURL=operator.d.ts.map