import type { MoteurClientConfig } from '../types.js'; /** Full SDK for JWT (or bearer): auth, projects, all `/projects/:id/...` resources, `/blueprints`, `instance` (deployment maintenance), optional global `/activity`. */ export declare function createMoteurAdminClient(config: MoteurClientConfig): { auth: { login(username: string, password: string): Promise; me(): Promise<{ user: import("@moteurio/types").User; }>; refresh(): Promise<{ token: string; }>; providers(): Promise<{ providers: { id: string; label: string; }[]; }>; }; projects: { list(): Promise<{ projects: import("@moteurio/types").ProjectSchema[]; }>; get(projectId: string): Promise<{ project: import("@moteurio/types").ProjectSchema; }>; create(body: Record): Promise<{ project: import("@moteurio/types").ProjectSchema; }>; update(projectId: string, body: Record): Promise<{ project: import("@moteurio/types").ProjectSchema; }>; delete(projectId: string): Promise; users(projectId: string): Promise<{ users: import("@moteurio/types").ProjectMemberUser[]; }>; patchProjectUser(projectId: string, userId: string, body: { name?: string; email?: string; isActive?: boolean; roles?: string[]; avatar?: string; }): Promise<{ user: import("@moteurio/types").ProjectMemberUser; }>; activity: { list(projectId: string, params?: { limit?: number; before?: string; }): Promise; }; branches: { list(projectId: string): Promise<{ branches: string[]; current?: string; }>; create(projectId: string, name: string, from?: string): Promise<{ branch: string; from: string; }>; switch(projectId: string, branch: string): Promise<{ branch: string; }>; merge(projectId: string, sourceBranch: string): Promise<{ merged: string; }>; }; radar: { get(projectId: string, options?: { fullScan?: boolean; severity?: string; model?: string; locale?: string; ruleId?: string; }): Promise; }; comments: { list(projectId: string, params: { resourceType: string; resourceId: string; includeResolved?: boolean; fieldPath?: string; }): Promise<{ comments: import("@moteurio/types").Comment[]; }>; add(projectId: string, body: { resourceType: string; resourceId: string; body: string; fieldPath?: string; blockId?: string; parentId?: string; }): Promise<{ comment: import("@moteurio/types").Comment; }>; resolve(projectId: string, commentId: string): Promise<{ comment: import("@moteurio/types").Comment; }>; delete(projectId: string, commentId: string): Promise; edit(projectId: string, commentId: string, body: { body: string; }): Promise<{ comment: import("@moteurio/types").Comment; }>; }; }; models: { list(projectId: string): Promise<{ models: import("@moteurio/types").ModelSchema[]; }>; get(projectId: string, modelId: string): Promise<{ model: import("@moteurio/types").ModelSchema; }>; create(projectId: string, body: Record): Promise<{ model: import("@moteurio/types").ModelSchema; }>; update(projectId: string, modelId: string, body: Record): Promise<{ model: import("@moteurio/types").ModelSchema; }>; delete(projectId: string, modelId: string): Promise; }; entries: { list(projectId: string, modelId: string, params?: import("../project/entries.js").EntryListParams): Promise; get(projectId: string, modelId: string, entryId: string): Promise<{ entry: import("@moteurio/types").Entry; }>; create(projectId: string, modelId: string, body: Record): Promise<{ entry: import("@moteurio/types").Entry; }>; update(projectId: string, modelId: string, entryId: string, body: Record): Promise<{ entry: import("@moteurio/types").Entry; }>; delete(projectId: string, modelId: string, entryId: string): Promise; status(projectId: string, modelId: string, entryId: string, status: string): Promise<{ entry: Record; }>; submitReview(projectId: string, modelId: string, entryId: string): Promise<{ entry: Record; }>; }; pages: { list(projectId: string): Promise<{ pages: { [x: string]: unknown; }[]; }>; get(projectId: string, pageId: string): Promise<{ page: { [x: string]: unknown; }; }>; getBySlug(projectId: string, slug: string): Promise<{ page: { [x: string]: unknown; }; }>; create(projectId: string, body: Record): Promise<{ page: { [x: string]: unknown; }; }>; update(projectId: string, pageId: string, body: Record): Promise<{ page: { [x: string]: unknown; }; }>; reorder(projectId: string, moves: import("../project/pages.js").PageMove[]): Promise<{ pages: { [x: string]: unknown; }[]; }>; delete(projectId: string, pageId: string): Promise; status(projectId: string, pageId: string, status: string): Promise<{ page: { [x: string]: unknown; }; }>; submitReview(projectId: string, pageId: string): Promise>; }; templates: { list(projectId: string): Promise<{ templates: Record[]; }>; get(projectId: string, templateId: string): Promise<{ template: Record; }>; create(projectId: string, body: Record): Promise<{ template: Record; }>; update(projectId: string, templateId: string, body: Record): Promise<{ template: Record; }>; delete(projectId: string, templateId: string): Promise; }; layouts: { list(projectId: string): Promise<{ layouts: Record[]; }>; get(projectId: string, layoutId: string): Promise<{ layout: Record; }>; create(projectId: string, body: Record): Promise<{ layout: Record; }>; update(projectId: string, layoutId: string, body: Record): Promise<{ layout: Record; }>; delete(projectId: string, layoutId: string): Promise; }; structures: { list(projectId: string): Promise<{ structures: Record[]; }>; get(projectId: string, structureId: string): Promise<{ structure: Record; }>; create(projectId: string, body: Record): Promise<{ structure: Record; }>; update(projectId: string, structureId: string, body: Record): Promise<{ structure: Record; }>; delete(projectId: string, structureId: string): Promise; }; collections: { list(projectId: string): Promise<{ collections: Record[]; }>; get(projectId: string, collectionId: string): Promise<{ collection: Record; }>; create(projectId: string, body: Record): Promise<{ collection: Record; }>; update(projectId: string, collectionId: string, body: Record): Promise<{ collection: Record; }>; delete(projectId: string, collectionId: string): Promise; }; forms: { list(projectId: string): Promise<{ forms: Record[]; }>; get(projectId: string, formId: string): Promise<{ form: Record; }>; create(projectId: string, body: Record): Promise<{ form: Record; }>; update(projectId: string, formId: string, body: Record): Promise<{ form: Record; }>; delete(projectId: string, formId: string): Promise; }; submissions: { list(projectId: string, formId: string, params?: import("../project/submissions.js").SubmissionListParams): Promise; get(projectId: string, formId: string, submissionId: string): Promise<{ submission: Record; }>; update(projectId: string, formId: string, submissionId: string, patch: { read?: boolean; spam?: boolean; }): Promise<{ submission: Record; }>; export(projectId: string, formId: string, format?: "csv" | "json"): Promise; delete(projectId: string, formId: string, submissionId: string): Promise; }; navigations: { list(projectId: string): Promise<{ navigations: Record[]; }>; get(projectId: string, navigationId: string): Promise<{ navigation: Record; }>; create(projectId: string, body: Record): Promise<{ navigation: Record; }>; update(projectId: string, navigationId: string, body: Record): Promise<{ navigation: Record; }>; delete(projectId: string, navigationId: string): Promise; }; webhooks: { list(projectId: string): Promise<{ webhooks: Record[]; }>; get(projectId: string, webhookId: string): Promise<{ webhook: Record; }>; create(projectId: string, body: Record): Promise<{ webhook: Record; }>; update(projectId: string, webhookId: string, body: Record): Promise<{ webhook: Record; }>; delete(projectId: string, webhookId: string): Promise; test(projectId: string, webhookId: string): Promise<{ ok: boolean; status?: number; }>; }; schedules: { list(projectId: string, options?: import("@moteurio/types").ListSchedulesOptions): Promise<{ schedules: import("@moteurio/types").Schedule[]; }>; get(projectId: string, scheduleId: string): Promise; create(projectId: string, body: import("@moteurio/types").CreateScheduleInput): Promise; cancel(projectId: string, scheduleId: string): Promise; delete(projectId: string, scheduleId: string): Promise; }; assets: { list(projectId: string, params?: { type?: string; folder?: string; search?: string; hash?: string; }): Promise[]>; page(projectId: string, params: { limit: number; offset?: number; type?: string; folder?: string; search?: string; facets?: boolean; }): Promise; get(projectId: string, id: string): Promise>; upload(projectId: string, formData: FormData): Promise>; update(projectId: string, id: string, body: Record): Promise>; replace(projectId: string, id: string, formData: FormData): Promise>; checkVideo(projectId: string, id: string): Promise>; retryVideo(projectId: string, id: string): Promise>; delete(projectId: string, id: string): Promise; bin(projectId: string): Promise[]>; restore(projectId: string, id: string): Promise>; deleteForever(projectId: string, id: string): Promise; emptyBin(projectId: string): Promise<{ deleted: number; }>; regenerate(projectId: string, assetIds?: string[], options?: { background?: boolean; }): Promise<{ processed?: number; errors?: number; queued?: number; }>; usageCounts(projectId: string): Promise<{ counts: Record; }>; usage(projectId: string, id: string): Promise<{ usages: import("../project/assets.js").AssetUsage[]; }>; move(projectId: string, id: string, folder: string): Promise>; batch(projectId: string, batch: { action: "bin" | "restore"; ids: string[]; } | { action: "move"; ids: string[]; folder: string; } | { action: "update"; changes: { id: string; patch: Record; }[]; }): Promise<{ assets: Record[]; }>; }; assetConfig: { get(projectId: string): Promise>; update(projectId: string, body: Record): Promise>; }; mediaSettings: { get(projectId: string): Promise; update(projectId: string, body: import("../project/mediaSettings.js").MediaSettingsUpdate): Promise>; checkStorage(projectId: string, body: import("../project/mediaSettings.js").StorageSettings): Promise<{ ok: boolean; error?: string; }>; moveStorage(projectId: string, body: import("../project/mediaSettings.js").StorageSettings): Promise<{ moved: number; }>; moveVideos(projectId: string, body?: { removeFromOld?: boolean; }): Promise<{ to: string; moving: number; staying: number; }>; forgetVideoHost(projectId: string, host: string): Promise<{ videoProviders?: import("@moteurio/types").VideoProvidersConfig; }>; }; blocks: { list(projectId: string): Promise>; get(projectId: string, id: string): Promise>; create(projectId: string, body: Record): Promise>; update(projectId: string, id: string, body: Record): Promise>; delete(projectId: string, id: string): Promise; }; apiKeys: { list(projectId: string): Promise; create(projectId: string, body?: import("../project/apiKeys.js").ProjectApiKeyCreateBody): Promise; rotate(projectId: string, keyId: string): Promise; revoke(projectId: string, keyId: string): Promise; patch(projectId: string, keyId: string, body: import("../project/apiKeys.js").ProjectApiKeyPatchBody): Promise; }; instance: { usage: () => Promise>; seed: { run(options?: { force?: boolean; }): Promise<{ copied: string[]; skipped: string[]; }>; }; migrateProvider: (body: { toProvider: string; fromProvider?: string; projectIds: string[]; removeFromOld?: boolean; }) => Promise>; }; blueprints: { list(kind: "model" | "project" | "structure" | "template"): Promise<{ blueprints: Record[]; }>; get(kind: "model" | "project" | "structure" | "template", blueprintId: string): Promise>; create(kind: "model" | "project" | "structure" | "template", body: Record): Promise>; update(kind: "model" | "project" | "structure" | "template", blueprintId: string, body: Record): Promise>; delete(kind: "model" | "project" | "structure" | "template", blueprintId: string): Promise; }; activity: { list(params?: { limit?: number; before?: string; }): Promise; }; ai: { helpers(projectId: string): Promise; write(params: { projectId: string; action: import("./ai.js").WritingAction; field: { key: string; label?: string; type?: string; }; value?: string; body?: string; locale?: string; modelId?: string; entryId?: string; }): Promise; translateField(params: { projectId: string; value: string; from: string; to: string; field?: { key: string; type?: string; }; modelId?: string; entryId?: string; }): Promise; analyseImage(params: { projectId: string; assetId: string; locale?: string; otherAlt?: string; }): Promise<{ alt: string; caption: string; creditsUsed: number; creditsRemaining: number; }>; generateAudio(params: { projectId: string; prompt: string; voice?: string; entryId?: string; fieldPath?: string; }): Promise; generateModel3d(params: { projectId: string; prompt: string; textured?: boolean; format?: "glb" | "usdz"; entryId?: string; fieldPath?: string; }): Promise; saveGeneratedModel(params: { projectId: string; url: string; format?: "glb" | "usdz"; thumbnailUrl?: string; prompt?: string; provider?: string; title?: string; entryId?: string; fieldPath?: string; }): Promise<{ asset: Record & { id: string; url: string; }; poster?: Record & { id: string; url: string; }; }>; activity(projectId: string, params?: { limit?: number; before?: string; }): Promise; generateEntry(params: import("./ai.js").GenerateEntryParams): Promise; projectOverview(projectId: string): Promise; }; operator: { 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: "structures" | "blocks"): Promise<{ items: Record[]; }>; save(kind: "structures" | "blocks", name: string, schema: Record): Promise<{ item: Record; }>; delete(kind: "structures" | "blocks", name: string): Promise; }; }; forProject: (projectId: string) => { projectId: string; project: { get: () => Promise<{ project: import("@moteurio/types").ProjectSchema; }>; update: (body: Record) => Promise<{ project: import("@moteurio/types").ProjectSchema; }>; delete: () => Promise; users: () => Promise<{ users: import("@moteurio/types").ProjectMemberUser[]; }>; }; branches: { list: () => Promise<{ branches: string[]; current?: string; }>; create: (name: string, from?: string) => Promise<{ branch: string; from: string; }>; switch: (branch: string) => Promise<{ branch: string; }>; merge: (sourceBranch: string) => Promise<{ merged: string; }>; }; radar: { get: (options?: { fullScan?: boolean; severity?: string; model?: string; locale?: string; ruleId?: string; }) => Promise; }; comments: { list: (params: { resourceType: string; resourceId: string; includeResolved?: boolean; fieldPath?: string; }) => Promise<{ comments: import("@moteurio/types").Comment[]; }>; add: (body: { resourceType: string; resourceId: string; body: string; fieldPath?: string; blockId?: string; parentId?: string; }) => Promise<{ comment: import("@moteurio/types").Comment; }>; resolve: (commentId: string) => Promise<{ comment: import("@moteurio/types").Comment; }>; delete: (commentId: string) => Promise; edit: (commentId: string, body: { body: string; }) => Promise<{ comment: import("@moteurio/types").Comment; }>; }; activity: { list: (params?: { limit?: number; before?: string; }) => Promise; }; models: { list: () => Promise<{ models: import("@moteurio/types").ModelSchema[]; }>; get: (modelId: string) => Promise<{ model: import("@moteurio/types").ModelSchema; }>; create: (body: Record) => Promise<{ model: import("@moteurio/types").ModelSchema; }>; update: (modelId: string, body: Record) => Promise<{ model: import("@moteurio/types").ModelSchema; }>; delete: (modelId: string) => Promise; }; entries: { list: (modelId: string, params?: Parameters<(projectId: string, modelId: string, params?: import("../project/entries.js").EntryListParams) => Promise>[2]) => Promise; get: (modelId: string, entryId: string) => Promise<{ entry: import("@moteurio/types").Entry; }>; create: (modelId: string, body: Record) => Promise<{ entry: import("@moteurio/types").Entry; }>; update: (modelId: string, entryId: string, body: Record) => Promise<{ entry: import("@moteurio/types").Entry; }>; delete: (modelId: string, entryId: string) => Promise; status: (modelId: string, entryId: string, status: string) => Promise<{ entry: Record; }>; submitReview: (modelId: string, entryId: string) => Promise<{ entry: Record; }>; }; pages: { list: () => Promise<{ pages: { [x: string]: unknown; }[]; }>; get: (pageId: string) => Promise<{ page: { [x: string]: unknown; }; }>; getBySlug: (slug: string) => Promise<{ page: { [x: string]: unknown; }; }>; create: (body: Record) => Promise<{ page: { [x: string]: unknown; }; }>; update: (pageId: string, body: Record) => Promise<{ page: { [x: string]: unknown; }; }>; reorder: (moves: import("../project/pages.js").PageMove[]) => Promise<{ pages: { [x: string]: unknown; }[]; }>; delete: (pageId: string) => Promise; status: (pageId: string, status: string) => Promise<{ page: { [x: string]: unknown; }; }>; submitReview: (pageId: string) => Promise>; }; templates: { list: () => Promise<{ templates: Record[]; }>; get: (templateId: string) => Promise<{ template: Record; }>; create: (body: Record) => Promise<{ template: Record; }>; update: (templateId: string, body: Record) => Promise<{ template: Record; }>; delete: (templateId: string) => Promise; }; layouts: { list: () => Promise<{ layouts: Record[]; }>; get: (layoutId: string) => Promise<{ layout: Record; }>; create: (body: Record) => Promise<{ layout: Record; }>; update: (layoutId: string, body: Record) => Promise<{ layout: Record; }>; delete: (layoutId: string) => Promise; }; structures: { list: () => Promise<{ structures: Record[]; }>; get: (structureId: string) => Promise<{ structure: Record; }>; create: (body: Record) => Promise<{ structure: Record; }>; update: (structureId: string, body: Record) => Promise<{ structure: Record; }>; delete: (structureId: string) => Promise; }; collections: { list: () => Promise<{ collections: Record[]; }>; get: (collectionId: string) => Promise<{ collection: Record; }>; create: (body: Record) => Promise<{ collection: Record; }>; update: (collectionId: string, body: Record) => Promise<{ collection: Record; }>; delete: (collectionId: string) => Promise; }; forms: { list: () => Promise<{ forms: Record[]; }>; get: (formId: string) => Promise<{ form: Record; }>; create: (body: Record) => Promise<{ form: Record; }>; update: (formId: string, body: Record) => Promise<{ form: Record; }>; delete: (formId: string) => Promise; }; submissions: { list: (formId: string, params?: import("../project/submissions.js").SubmissionListParams) => Promise; get: (formId: string, submissionId: string) => Promise<{ submission: Record; }>; update: (formId: string, submissionId: string, patch: { read?: boolean; spam?: boolean; }) => Promise<{ submission: Record; }>; export: (formId: string, format?: "csv" | "json") => Promise; delete: (formId: string, submissionId: string) => Promise; }; navigations: { list: () => Promise<{ navigations: Record[]; }>; get: (navigationId: string) => Promise<{ navigation: Record; }>; create: (body: Record) => Promise<{ navigation: Record; }>; update: (navigationId: string, body: Record) => Promise<{ navigation: Record; }>; delete: (navigationId: string) => Promise; }; webhooks: { list: () => Promise<{ webhooks: Record[]; }>; get: (webhookId: string) => Promise<{ webhook: Record; }>; create: (body: Record) => Promise<{ webhook: Record; }>; update: (webhookId: string, body: Record) => Promise<{ webhook: Record; }>; delete: (webhookId: string) => Promise; test: (webhookId: string) => Promise<{ ok: boolean; status?: number; }>; }; schedules: { list: (options?: import("@moteurio/types").ListSchedulesOptions) => Promise<{ schedules: import("@moteurio/types").Schedule[]; }>; get: (scheduleId: string) => Promise; create: (body: import("@moteurio/types").CreateScheduleInput) => Promise; cancel: (scheduleId: string) => Promise; delete: (scheduleId: string) => Promise; }; assets: { list: (params?: { type?: string; folder?: string; search?: string; hash?: string; }) => Promise[]>; get: (id: string) => Promise>; upload: (formData: FormData) => Promise>; update: (id: string, body: Record) => Promise>; delete: (id: string) => Promise; bin: () => Promise[]>; restore: (id: string) => Promise>; replace: (id: string, formData: FormData) => Promise>; deleteForever: (id: string) => Promise; emptyBin: () => Promise<{ deleted: number; }>; regenerate: (assetIds?: string[], options?: { background?: boolean; }) => Promise<{ processed?: number; errors?: number; queued?: number; }>; move: (id: string, folder: string) => Promise>; }; assetConfig: { get: () => Promise>; update: (body: Record) => Promise>; }; mediaSettings: { get: () => Promise; update: (body: import("../project/mediaSettings.js").MediaSettingsUpdate) => Promise>; checkStorage: (body: import("../project/mediaSettings.js").StorageSettings) => Promise<{ ok: boolean; error?: string; }>; moveStorage: (body: import("../project/mediaSettings.js").StorageSettings) => Promise<{ moved: number; }>; }; blocks: { list: () => Promise>; get: (id: string) => Promise>; create: (body: Record) => Promise>; update: (id: string, body: Record) => Promise>; delete: (id: string) => Promise; }; apiKeys: { list: () => Promise; create: (body?: import("../project/apiKeys.js").ProjectApiKeyCreateBody) => Promise; rotate: (keyId: string) => Promise; revoke: (keyId: string) => Promise; patch: (keyId: string, body: import("../project/apiKeys.js").ProjectApiKeyPatchBody) => Promise; }; }; baseURL: string; setAuth(auth: import("../types.js").MoteurAuth | undefined): void; request(options: import("axios").AxiosRequestConfig): Promise; get(url: string, params?: Record): Promise; post(url: string, data?: unknown): Promise; put(url: string, data?: unknown): Promise; patch(url: string, data?: unknown): Promise; delete(url: string): Promise; _raw: import("axios").AxiosInstance; }; export type MoteurAdminClient = ReturnType; //# sourceMappingURL=adminClient.d.ts.map