import { z } from "zod"; //#region src/api/schemas/common.d.ts /** Valid role level values */ declare const VALID_ROLE_LEVELS: Set; /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */ declare const roleLevel: z.ZodCoercedNumber & z.ZodType<30 | 10 | 20 | 40 | 50, unknown, z.core.$ZodTypeInternals<30 | 10 | 20 | 40 | 50, unknown>>; /** Pagination query params — cursor-based */ declare const cursorPaginationQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; }, z.core.$strip>; /** Pagination query params — offset-based */ declare const offsetPaginationQuery: z.ZodObject<{ limit: z.ZodDefault>>; offset: z.ZodDefault>>; }, z.core.$strip>; /** Slug pattern: lowercase letters, digits, underscores; starts with letter */ declare const slugPattern: RegExp; /** Validates that a URL string uses http or https scheme. Rejects javascript:/data: URI XSS vectors. */ declare const httpUrl: z.ZodString; /** * BCP 47 locale code — language with optional script/region subtags (e.g. en, en-US, pt-BR, es-419, zh-Hant). * Validation is case-insensitive, but the value is preserved verbatim because the site config, stored * `locale` columns, and public query path all keep the raw BCP-47 casing. */ declare const localeCode: z.ZodString; /** Shared `?locale=xx` query shape for endpoints that filter by locale. */ declare const localeFilterQuery: z.ZodObject<{ locale: z.ZodOptional; }, z.core.$strip>; /** Standard API error response */ declare const apiErrorSchema: z.ZodObject<{ success: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodString; message: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; /** Wrap a data schema in the standard success envelope: { success: true, data: T } */ declare function successEnvelope(dataSchema: T): z.ZodObject<{ success: z.ZodLiteral; data: T; }, z.core.$strip>; /** Standard delete response */ declare const deleteResponseSchema: z.ZodObject<{ deleted: z.ZodLiteral; }, z.core.$strip>; /** Standard count response */ declare const countResponseSchema: z.ZodObject<{ count: z.ZodNumber; }, z.core.$strip>; //#endregion //#region src/api/schemas/content.d.ts /** SEO input — per-content meta fields */ declare const contentSeoInput: z.ZodObject<{ title: z.ZodOptional>; description: z.ZodOptional>; image: z.ZodOptional>; canonical: z.ZodOptional>; noIndex: z.ZodOptional; }, z.core.$strip>; /** AND-combined filters over custom fields explicitly marked as indexed. */ declare const contentFieldFiltersSchema: z.ZodRecord, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{ in: z.ZodArray, z.ZodBoolean]>>; }, z.core.$strict>, z.ZodObject<{ gt: z.ZodOptional>; gte: z.ZodOptional>; lt: z.ZodOptional>; lte: z.ZodOptional>; }, z.core.$strict>]>>; declare const contentListQuery: z.ZodPipe; limit: z.ZodDefault>>; status: z.ZodOptional; orderBy: z.ZodOptional; order: z.ZodOptional>; locale: z.ZodOptional; q: z.ZodOptional; authorId: z.ZodOptional; dateField: z.ZodOptional>; dateFrom: z.ZodOptional>; dateTo: z.ZodOptional>; bylines: z.ZodPipe, z.ZodTransform>; includeInferredBylines: z.ZodPipe>, z.ZodTransform>; fieldFilters: z.ZodOptional>, z.ZodRecord, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{ in: z.ZodArray, z.ZodBoolean]>>; }, z.core.$strict>, z.ZodObject<{ gt: z.ZodOptional>; gte: z.ZodOptional>; lt: z.ZodOptional>; lte: z.ZodOptional>; }, z.core.$strict>]>>>>; }, z.core.$strip>, z.ZodTransform<{ bylinesNone: boolean; bylines: string[] | undefined; limit: number; includeInferredBylines: boolean; cursor?: string | undefined; status?: string | undefined; orderBy?: string | undefined; order?: "asc" | "desc" | undefined; locale?: string | undefined; q?: string | undefined; authorId?: string | undefined; dateField?: "createdAt" | "updatedAt" | "publishedAt" | undefined; dateFrom?: string | undefined; dateTo?: string | undefined; fieldFilters?: Record | undefined; }, { limit: number; bylines: string[] | "none" | undefined; includeInferredBylines: boolean; cursor?: string | undefined; status?: string | undefined; orderBy?: string | undefined; order?: "asc" | "desc" | undefined; locale?: string | undefined; q?: string | undefined; authorId?: string | undefined; dateField?: "createdAt" | "updatedAt" | "publishedAt" | undefined; dateFrom?: string | undefined; dateTo?: string | undefined; fieldFilters?: Record | undefined; }>>; declare const contentCreateBody: z.ZodObject<{ data: z.ZodRecord; slug: z.ZodOptional>; status: z.ZodOptional>; bylines: z.ZodOptional>; }, z.core.$strip>>>; locale: z.ZodOptional; translationOf: z.ZodOptional; seo: z.ZodOptional>; description: z.ZodOptional>; image: z.ZodOptional>; canonical: z.ZodOptional>; noIndex: z.ZodOptional; }, z.core.$strip>>; taxonomies: z.ZodOptional>>; publishedAt: z.ZodOptional>; createdAt: z.ZodOptional>; }, z.core.$strip>; declare const contentUpdateBody: z.ZodObject<{ data: z.ZodOptional>; slug: z.ZodOptional>; status: z.ZodOptional>; authorId: z.ZodOptional>; bylines: z.ZodOptional>; }, z.core.$strip>>>; _rev: z.ZodOptional; skipRevision: z.ZodOptional; seo: z.ZodOptional>; description: z.ZodOptional>; image: z.ZodOptional>; canonical: z.ZodOptional>; noIndex: z.ZodOptional; }, z.core.$strip>>; taxonomies: z.ZodOptional>>; publishedAt: z.ZodOptional>; }, z.core.$strip>; declare const contentScheduleBody: z.ZodObject<{ scheduledAt: z.ZodString; }, z.core.$strip>; declare const contentPublishBody: z.ZodObject<{ publishedAt: z.ZodOptional; }, z.core.$strip>; declare const contentPreviewUrlBody: z.ZodObject<{ expiresIn: z.ZodOptional>; pathPattern: z.ZodOptional; }, z.core.$strip>; declare const contentTermsBody: z.ZodObject<{ termIds: z.ZodArray; }, z.core.$strip>; declare const contentTrashQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; }, z.core.$strip>; /** SEO metadata on a content item */ declare const contentSeoSchema: z.ZodObject<{ title: z.ZodNullable; description: z.ZodNullable; image: z.ZodNullable; canonical: z.ZodNullable; noIndex: z.ZodBoolean; }, z.core.$strip>; /** A single content item as returned by the API */ declare const contentItemSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodString; slug: z.ZodNullable; status: z.ZodString; data: z.ZodRecord; authorId: z.ZodNullable; primaryBylineId: z.ZodNullable; byline: z.ZodOptional; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>>>; bylines: z.ZodOptional; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>; sortOrder: z.ZodNumber; roleLabel: z.ZodNullable; source: z.ZodOptional>; }, z.core.$strip>>>; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; scheduledAt: z.ZodNullable; liveRevisionId: z.ZodNullable; draftRevisionId: z.ZodNullable; version: z.ZodNumber; locale: z.ZodNullable; translationGroup: z.ZodNullable; seo: z.ZodOptional; description: z.ZodNullable; image: z.ZodNullable; canonical: z.ZodNullable; noIndex: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; /** Response for single content item endpoints (get, create, update) */ declare const contentResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; type: z.ZodString; slug: z.ZodNullable; status: z.ZodString; data: z.ZodRecord; authorId: z.ZodNullable; primaryBylineId: z.ZodNullable; byline: z.ZodOptional; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>>>; bylines: z.ZodOptional; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>; sortOrder: z.ZodNumber; roleLabel: z.ZodNullable; source: z.ZodOptional>; }, z.core.$strip>>>; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; scheduledAt: z.ZodNullable; liveRevisionId: z.ZodNullable; draftRevisionId: z.ZodNullable; version: z.ZodNumber; locale: z.ZodNullable; translationGroup: z.ZodNullable; seo: z.ZodOptional; description: z.ZodNullable; image: z.ZodNullable; canonical: z.ZodNullable; noIndex: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; _rev: z.ZodOptional; }, z.core.$strip>; /** Response for content list endpoints */ declare const contentListResponseSchema: z.ZodObject<{ items: z.ZodArray; status: z.ZodString; data: z.ZodRecord; authorId: z.ZodNullable; primaryBylineId: z.ZodNullable; byline: z.ZodOptional; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>>>; bylines: z.ZodOptional; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>; sortOrder: z.ZodNumber; roleLabel: z.ZodNullable; source: z.ZodOptional>; }, z.core.$strip>>>; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; scheduledAt: z.ZodNullable; liveRevisionId: z.ZodNullable; draftRevisionId: z.ZodNullable; version: z.ZodNumber; locale: z.ZodNullable; translationGroup: z.ZodNullable; seo: z.ZodOptional; description: z.ZodNullable; image: z.ZodNullable; canonical: z.ZodNullable; noIndex: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>>; nextCursor: z.ZodOptional; total: z.ZodOptional; }, z.core.$strip>; /** A distinct content author for the admin author filter */ declare const contentAuthorSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodNullable; email: z.ZodString; avatarUrl: z.ZodNullable; }, z.core.$strip>; /** Response for the content authors endpoint */ declare const contentAuthorsResponseSchema: z.ZodObject<{ items: z.ZodArray; email: z.ZodString; avatarUrl: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; /** Trashed content item */ declare const trashedContentItemSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodString; slug: z.ZodNullable; status: z.ZodString; data: z.ZodRecord; authorId: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; deletedAt: z.ZodString; }, z.core.$strip>; /** Response for trashed content list */ declare const trashedContentListResponseSchema: z.ZodObject<{ items: z.ZodArray; status: z.ZodString; data: z.ZodRecord; authorId: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; deletedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; /** Response for content compare (live vs draft) */ declare const contentCompareResponseSchema: z.ZodObject<{ hasChanges: z.ZodBoolean; live: z.ZodNullable>; draft: z.ZodNullable>; }, z.core.$strip>; /** Translation summary for a content item */ declare const contentTranslationSchema: z.ZodObject<{ id: z.ZodString; locale: z.ZodNullable; slug: z.ZodNullable; status: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; /** Response for content translations endpoint */ declare const contentTranslationsResponseSchema: z.ZodObject<{ translationGroup: z.ZodString; translations: z.ZodArray; slug: z.ZodNullable; status: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; //#endregion //#region src/api/schemas/media.d.ts declare const mediaListQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; mimeType: z.ZodOptional]>, z.ZodTransform>>; q: z.ZodOptional; includeUsage: z.ZodOptional>; }, z.core.$strip>; declare const mediaGetQuery: z.ZodObject<{ includeUsage: z.ZodOptional>; }, z.core.$strip>; declare const mediaUpdateBody: z.ZodObject<{ alt: z.ZodOptional; caption: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; }, z.core.$strip>; /** Default maximum allowed file upload size (50 MB). */ declare const DEFAULT_MAX_UPLOAD_SIZE: number; declare function formatFileSize(bytes: number): string; declare const CONTENT_TYPE_RE: RegExp; declare function mediaUploadUrlBody(maxSize: number): z.ZodObject<{ filename: z.ZodString; contentType: z.ZodString; size: z.ZodNumber; contentHash: z.ZodOptional; fieldId: z.ZodOptional; }, z.core.$strip>; declare const mediaConfirmBody: z.ZodObject<{ size: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; }, z.core.$strip>; declare const mediaProviderListQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; query: z.ZodOptional; mimeType: z.ZodOptional]>, z.ZodTransform>>; }, z.core.$strip>; declare const mediaItemSchema: z.ZodObject<{ id: z.ZodString; filename: z.ZodString; mimeType: z.ZodString; size: z.ZodNullable; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; }, z.core.$strip>; declare const mediaResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; filename: z.ZodString; mimeType: z.ZodString; size: z.ZodNullable; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const mediaReadItemSchema: z.ZodObject<{ id: z.ZodString; filename: z.ZodString; mimeType: z.ZodString; size: z.ZodNullable; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; usage: z.ZodOptional; coverage: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; declare const mediaReadResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; filename: z.ZodString; mimeType: z.ZodString; size: z.ZodNullable; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; usage: z.ZodOptional; coverage: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; declare const mediaListReadItemSchema: z.ZodObject<{ id: z.ZodString; filename: z.ZodString; mimeType: z.ZodString; size: z.ZodNullable; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; usage: z.ZodOptional; coverage: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; }, z.core.$strip>>; url: z.ZodString; }, z.core.$strip>; declare const mediaListReadResponseSchema: z.ZodObject<{ items: z.ZodArray; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; usage: z.ZodOptional; coverage: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; }, z.core.$strip>>; url: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const mediaListResponseSchema: z.ZodObject<{ items: z.ZodArray; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const mediaUploadUrlResponseSchema: z.ZodObject<{ uploadUrl: z.ZodString; method: z.ZodLiteral<"PUT">; headers: z.ZodRecord; mediaId: z.ZodString; storageKey: z.ZodString; expiresAt: z.ZodString; }, z.core.$strip>; declare const mediaExistingResponseSchema: z.ZodObject<{ existing: z.ZodLiteral; mediaId: z.ZodString; storageKey: z.ZodString; url: z.ZodString; }, z.core.$strip>; declare const mediaConfirmResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; filename: z.ZodString; mimeType: z.ZodString; size: z.ZodNullable; width: z.ZodNullable; height: z.ZodNullable; alt: z.ZodNullable; caption: z.ZodNullable; storageKey: z.ZodString; status: z.ZodEnum<{ pending: "pending"; ready: "ready"; failed: "failed"; }>; contentHash: z.ZodNullable; blurhash: z.ZodNullable; dominantColor: z.ZodNullable; createdAt: z.ZodString; authorId: z.ZodNullable; url: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const mediaStreamUploadResponseSchema: z.ZodObject<{ uploaded: z.ZodLiteral; size: z.ZodNumber; }, z.core.$strip>; //#endregion //#region src/api/schemas/media-usage.d.ts declare const mediaUsageCoverageStatusSchema: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; declare const mediaUsageCoverageSchema: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; declare const mediaUsageSummarySchema: z.ZodObject<{ count: z.ZodNullable; coverage: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; }, z.core.$strip>; declare const mediaUsageDetailsQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; }, z.core.$strip>; declare const mediaUsageOccurrenceDetailSchema: z.ZodObject<{ fieldSlug: z.ZodString; fieldPath: z.ZodString; occurrenceIndex: z.ZodNumber; referenceType: z.ZodEnum<{ unknown: "unknown"; image_field: "image_field"; file_field: "file_field"; portable_text_image: "portable_text_image"; }>; }, z.core.$strip>; declare const mediaUsageSourceDetailSchema: z.ZodObject<{ variant: z.ZodEnum<{ columns: "columns"; draft_overlay: "draft_overlay"; }>; occurrences: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; declare const mediaUsageEntryDetailSchema: z.ZodObject<{ collection: z.ZodString; contentId: z.ZodString; title: z.ZodNullable; slug: z.ZodNullable; locale: z.ZodNullable; status: z.ZodNullable; scheduledAt: z.ZodNullable; deletedAt: z.ZodNullable; sources: z.ZodArray; occurrences: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; declare const mediaUsageDetailsResponseSchema: z.ZodObject<{ items: z.ZodArray; slug: z.ZodNullable; locale: z.ZodNullable; status: z.ZodNullable; scheduledAt: z.ZodNullable; deletedAt: z.ZodNullable; sources: z.ZodArray; occurrences: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; nextCursor: z.ZodOptional; coverage: z.ZodObject<{ scope: z.ZodLiteral<"all_content_collections">; status: z.ZodEnum<{ never: "never"; unknown: "unknown"; failed: "failed"; complete: "complete"; running: "running"; partial: "partial"; stale: "stale"; }>; }, z.core.$strip>; }, z.core.$strip>; declare const mediaUsageRepairStatusSchema: z.ZodEnum<{ failed: "failed"; complete: "complete"; partial: "partial"; stale: "stale"; }>; declare const mediaUsageRepairBody: z.ZodDiscriminatedUnion<[z.ZodObject<{ scope: z.ZodLiteral<"collection">; collection: z.ZodString; }, z.core.$strict>, z.ZodObject<{ scope: z.ZodLiteral<"all">; }, z.core.$strict>], "scope">; declare const mediaUsageRepairCollectionSummarySchema: z.ZodObject<{ collection: z.ZodString; status: z.ZodEnum<{ failed: "failed"; complete: "complete"; partial: "partial"; stale: "stale"; }>; indexedSourceCount: z.ZodNumber; failedSourceCount: z.ZodNumber; skippedSourceCount: z.ZodNumber; deletedSourceCount: z.ZodNumber; lastErrorCode: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodNullable; }, z.core.$strip>; declare const mediaUsageRepairResponseSchema: z.ZodObject<{ status: z.ZodEnum<{ failed: "failed"; complete: "complete"; partial: "partial"; stale: "stale"; }>; indexedSourceCount: z.ZodNumber; failedSourceCount: z.ZodNumber; skippedSourceCount: z.ZodNumber; deletedSourceCount: z.ZodNumber; collections: z.ZodArray; indexedSourceCount: z.ZodNumber; failedSourceCount: z.ZodNumber; skippedSourceCount: z.ZodNumber; deletedSourceCount: z.ZodNumber; lastErrorCode: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; declare const mediaUsageWorkStateSchema: z.ZodEnum<{ pending: "pending"; failed: "failed"; retry: "retry"; leased: "leased"; }>; declare const mediaUsageWorkListQuery: z.ZodObject<{ collection: z.ZodString; state: z.ZodOptional>; cursor: z.ZodOptional; limit: z.ZodDefault>>; }, z.core.$strip>; declare const mediaUsageWorkItemSchema: z.ZodObject<{ collectionId: z.ZodString; collectionSlug: z.ZodString; contentId: z.ZodString; state: z.ZodEnum<{ pending: "pending"; failed: "failed"; retry: "retry"; leased: "leased"; }>; attemptCount: z.ZodNumber; nextAttemptAt: z.ZodString; leaseExpiresAt: z.ZodNullable; lastAttemptedAt: z.ZodNullable; lastErrorCode: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; declare const mediaUsageWorkListResponseSchema: z.ZodObject<{ items: z.ZodArray; attemptCount: z.ZodNumber; nextAttemptAt: z.ZodString; leaseExpiresAt: z.ZodNullable; lastAttemptedAt: z.ZodNullable; lastErrorCode: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const mediaUsageWorkRetryBody: z.ZodObject<{ collectionId: z.ZodString; contentId: z.ZodString; }, z.core.$strict>; declare const mediaUsageWorkRetryResponseSchema: z.ZodObject<{ changed: z.ZodBoolean; item: z.ZodObject<{ collectionId: z.ZodString; collectionSlug: z.ZodString; contentId: z.ZodString; state: z.ZodEnum<{ pending: "pending"; failed: "failed"; retry: "retry"; leased: "leased"; }>; attemptCount: z.ZodNumber; nextAttemptAt: z.ZodString; leaseExpiresAt: z.ZodNullable; lastAttemptedAt: z.ZodNullable; lastErrorCode: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const mediaUsageWorkRetryConflictSchema: z.ZodObject<{ success: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"WORK_LEASE_ACTIVE">; message: z.ZodString; details: z.ZodObject<{ leaseExpiresAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"WORK_CHANGED">; message: z.ZodString; }, z.core.$strip>], "code">; }, z.core.$strip>; declare const mediaUsageCollectionDeletionStateSchema: z.ZodEnum<{ pending: "pending"; failed: "failed"; retry: "retry"; leased: "leased"; }>; declare const mediaUsageCollectionDeletionPhaseSchema: z.ZodEnum<{ status: "status"; sources: "sources"; fence: "fence"; registry: "registry"; table: "table"; work: "work"; finalize: "finalize"; }>; declare const mediaUsageCollectionDeletionListQuery: z.ZodObject<{ state: z.ZodDefault>>; cursor: z.ZodOptional; limit: z.ZodDefault>>; }, z.core.$strip>; declare const mediaUsageCollectionDeletionItemSchema: z.ZodObject<{ collectionId: z.ZodString; collectionSlug: z.ZodString; state: z.ZodEnum<{ pending: "pending"; failed: "failed"; retry: "retry"; leased: "leased"; }>; phase: z.ZodEnum<{ status: "status"; sources: "sources"; fence: "fence"; registry: "registry"; table: "table"; work: "work"; finalize: "finalize"; }>; attemptCount: z.ZodNumber; nextAttemptAt: z.ZodString; leaseExpiresAt: z.ZodNullable; lastErrorCode: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; declare const mediaUsageCollectionDeletionListResponseSchema: z.ZodObject<{ items: z.ZodArray; phase: z.ZodEnum<{ status: "status"; sources: "sources"; fence: "fence"; registry: "registry"; table: "table"; work: "work"; finalize: "finalize"; }>; attemptCount: z.ZodNumber; nextAttemptAt: z.ZodString; leaseExpiresAt: z.ZodNullable; lastErrorCode: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const mediaUsageCollectionDeletionRetryBody: z.ZodObject<{ collectionId: z.ZodString; }, z.core.$strict>; declare const mediaUsageCollectionDeletionRetryResponseSchema: z.ZodObject<{ changed: z.ZodBoolean; item: z.ZodObject<{ collectionId: z.ZodString; collectionSlug: z.ZodString; state: z.ZodEnum<{ pending: "pending"; failed: "failed"; retry: "retry"; leased: "leased"; }>; phase: z.ZodEnum<{ status: "status"; sources: "sources"; fence: "fence"; registry: "registry"; table: "table"; work: "work"; finalize: "finalize"; }>; attemptCount: z.ZodNumber; nextAttemptAt: z.ZodString; leaseExpiresAt: z.ZodNullable; lastErrorCode: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; type MediaUsageRepairRequest = z.infer; type MediaUsageRepairResponse = z.infer; type MediaUsageWorkListQuery = z.infer; type MediaUsageWorkItem = z.infer; type MediaUsageWorkListResponse = z.infer; type MediaUsageWorkRetryRequest = z.infer; type MediaUsageWorkRetryResponse = z.infer; type MediaUsageCollectionDeletionListQuery = z.infer; type MediaUsageCollectionDeletionListResponse = z.infer; type MediaUsageCollectionDeletionRetryRequest = z.infer; type MediaUsageCollectionDeletionRetryResponse = z.infer; type MediaUsageCoverageStatus = z.infer; type MediaUsageCoverage = z.infer; type MediaUsageSummary = z.infer; type MediaUsageOccurrenceDetail = z.infer; type MediaUsageSourceDetail = z.infer; type MediaUsageEntryDetail = z.infer; type MediaUsageDetailsResponse = z.infer; //#endregion //#region src/api/schemas/schema.d.ts declare const createCollectionBody: z.ZodObject<{ slug: z.ZodString; label: z.ZodString; labelSingular: z.ZodOptional; description: z.ZodOptional; icon: z.ZodOptional; admin: z.ZodOptional>; }, z.core.$strip>>; supports: z.ZodOptional>>; source: z.ZodOptional; urlPattern: z.ZodOptional; routable: z.ZodOptional; hasSeo: z.ZodOptional; hidden: z.ZodOptional; sortOrder: z.ZodOptional>; }, z.core.$strip>; declare const updateCollectionBody: z.ZodObject<{ label: z.ZodOptional; labelSingular: z.ZodOptional; description: z.ZodOptional; icon: z.ZodOptional; admin: z.ZodOptional>; }, z.core.$strip>>; supports: z.ZodOptional>>; urlPattern: z.ZodOptional>; routable: z.ZodOptional; hasSeo: z.ZodOptional; hidden: z.ZodOptional; sortOrder: z.ZodOptional>; commentsEnabled: z.ZodOptional; commentsModeration: z.ZodOptional>; commentsClosedAfterDays: z.ZodOptional; commentsAutoApproveUsers: z.ZodOptional; }, z.core.$strip>; declare const createFieldBody: z.ZodObject<{ slug: z.ZodString; label: z.ZodString; type: z.ZodEnum<{ string: "string"; number: "number"; boolean: "boolean"; file: "file"; url: "url"; image: "image"; datetime: "datetime"; slug: "slug"; text: "text"; integer: "integer"; select: "select"; multiSelect: "multiSelect"; portableText: "portableText"; reference: "reference"; json: "json"; repeater: "repeater"; }>; required: z.ZodOptional; unique: z.ZodOptional; defaultValue: z.ZodOptional; validation: z.ZodNullable; min: z.ZodOptional; max: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; pattern: z.ZodOptional; options: z.ZodOptional>; subFields: z.ZodOptional; label: z.ZodString; required: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strip>>>; minItems: z.ZodOptional; maxItems: z.ZodOptional; allowedMimeTypes: z.ZodOptional>; }, z.core.$strip>>>; widget: z.ZodOptional; options: z.ZodOptional>; sortOrder: z.ZodOptional; searchable: z.ZodOptional; indexed: z.ZodOptional; translatable: z.ZodOptional; }, z.core.$strip>; declare const updateFieldBody: z.ZodObject<{ label: z.ZodOptional; type: z.ZodOptional>; required: z.ZodOptional; unique: z.ZodOptional; defaultValue: z.ZodOptional; validation: z.ZodNullable; min: z.ZodOptional; max: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; pattern: z.ZodOptional; options: z.ZodOptional>; subFields: z.ZodOptional; label: z.ZodString; required: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strip>>>; minItems: z.ZodOptional; maxItems: z.ZodOptional; allowedMimeTypes: z.ZodOptional>; }, z.core.$strip>>>; widget: z.ZodOptional; options: z.ZodOptional>; sortOrder: z.ZodOptional; searchable: z.ZodOptional; indexed: z.ZodOptional; translatable: z.ZodOptional; }, z.core.$strip>; declare const fieldReorderBody: z.ZodObject<{ fieldSlugs: z.ZodArray; }, z.core.$strip>; declare const collectionReorderBody: z.ZodObject<{ slugs: z.ZodArray; }, z.core.$strip>; declare const orphanRegisterBody: z.ZodObject<{ label: z.ZodOptional; labelSingular: z.ZodOptional; description: z.ZodOptional; }, z.core.$strip>; declare const schemaExportQuery: z.ZodObject<{ format: z.ZodOptional; }, z.core.$strip>; declare const collectionGetQuery: z.ZodObject<{ includeFields: z.ZodOptional>>; }, z.core.$strip>; declare const collectionSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; label: z.ZodString; labelSingular: z.ZodNullable; description: z.ZodNullable; icon: z.ZodNullable; admin: z.ZodOptional>; }, z.core.$strip>>; supports: z.ZodArray; source: z.ZodNullable; urlPattern: z.ZodNullable; routable: z.ZodBoolean; hasSeo: z.ZodBoolean; hidden: z.ZodBoolean; sortOrder: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const fieldSchema: z.ZodObject<{ id: z.ZodString; collectionId: z.ZodString; slug: z.ZodString; label: z.ZodString; type: z.ZodEnum<{ string: "string"; number: "number"; boolean: "boolean"; file: "file"; url: "url"; image: "image"; datetime: "datetime"; slug: "slug"; text: "text"; integer: "integer"; select: "select"; multiSelect: "multiSelect"; portableText: "portableText"; reference: "reference"; json: "json"; repeater: "repeater"; }>; required: z.ZodBoolean; unique: z.ZodBoolean; defaultValue: z.ZodNullable; validation: z.ZodNullable>; widget: z.ZodNullable; options: z.ZodNullable>; sortOrder: z.ZodNumber; searchable: z.ZodBoolean; indexed: z.ZodBoolean; translatable: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const collectionResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; label: z.ZodString; labelSingular: z.ZodNullable; description: z.ZodNullable; icon: z.ZodNullable; admin: z.ZodOptional>; }, z.core.$strip>>; supports: z.ZodArray; source: z.ZodNullable; urlPattern: z.ZodNullable; routable: z.ZodBoolean; hasSeo: z.ZodBoolean; hidden: z.ZodBoolean; sortOrder: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const collectionWithFieldsResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; label: z.ZodString; labelSingular: z.ZodNullable; description: z.ZodNullable; icon: z.ZodNullable; admin: z.ZodOptional>; }, z.core.$strip>>; supports: z.ZodArray; source: z.ZodNullable; urlPattern: z.ZodNullable; routable: z.ZodBoolean; hasSeo: z.ZodBoolean; hidden: z.ZodBoolean; sortOrder: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; fields: z.ZodArray; required: z.ZodBoolean; unique: z.ZodBoolean; defaultValue: z.ZodNullable; validation: z.ZodNullable>; widget: z.ZodNullable; options: z.ZodNullable>; sortOrder: z.ZodNumber; searchable: z.ZodBoolean; indexed: z.ZodBoolean; translatable: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; declare const collectionListResponseSchema: z.ZodObject<{ items: z.ZodArray; description: z.ZodNullable; icon: z.ZodNullable; admin: z.ZodOptional>; }, z.core.$strip>>; supports: z.ZodArray; source: z.ZodNullable; urlPattern: z.ZodNullable; routable: z.ZodBoolean; hasSeo: z.ZodBoolean; hidden: z.ZodBoolean; sortOrder: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const fieldResponseSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; collectionId: z.ZodString; slug: z.ZodString; label: z.ZodString; type: z.ZodEnum<{ string: "string"; number: "number"; boolean: "boolean"; file: "file"; url: "url"; image: "image"; datetime: "datetime"; slug: "slug"; text: "text"; integer: "integer"; select: "select"; multiSelect: "multiSelect"; portableText: "portableText"; reference: "reference"; json: "json"; repeater: "repeater"; }>; required: z.ZodBoolean; unique: z.ZodBoolean; defaultValue: z.ZodNullable; validation: z.ZodNullable>; widget: z.ZodNullable; options: z.ZodNullable>; sortOrder: z.ZodNumber; searchable: z.ZodBoolean; indexed: z.ZodBoolean; translatable: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const fieldListResponseSchema: z.ZodObject<{ items: z.ZodArray; required: z.ZodBoolean; unique: z.ZodBoolean; defaultValue: z.ZodNullable; validation: z.ZodNullable>; widget: z.ZodNullable; options: z.ZodNullable>; sortOrder: z.ZodNumber; searchable: z.ZodBoolean; indexed: z.ZodBoolean; translatable: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const orphanedTableSchema: z.ZodObject<{ slug: z.ZodString; tableName: z.ZodString; rowCount: z.ZodNumber; }, z.core.$strip>; declare const orphanedTableListResponseSchema: z.ZodObject<{ items: z.ZodArray>; }, z.core.$strip>; //#endregion //#region src/api/schemas/comments.d.ts declare const createCommentBody: z.ZodObject<{ authorName: z.ZodString; authorEmail: z.ZodString; body: z.ZodString; parentId: z.ZodOptional; website_url: z.ZodOptional; turnstileToken: z.ZodOptional; }, z.core.$strip>; declare const createReactionBody: z.ZodObject<{ commentId: z.ZodString; reaction: z.ZodDefault; website_url: z.ZodOptional; }, z.core.$strip>; declare const commentStatusBody: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; approved: "approved"; spam: "spam"; trash: "trash"; }>; }, z.core.$strip>; declare const commentBulkBody: z.ZodObject<{ ids: z.ZodArray; action: z.ZodEnum<{ spam: "spam"; trash: "trash"; approve: "approve"; delete: "delete"; }>; }, z.core.$strip>; declare const commentListQuery: z.ZodObject<{ status: z.ZodOptional>; collection: z.ZodOptional; search: z.ZodOptional; limit: z.ZodDefault>>; cursor: z.ZodOptional; }, z.core.$strip>; /** * Public-facing comment (no email/IP). * * `replies` is recursive in practice (each reply can have replies), but we * model it as a single level here to avoid circular type inference issues * with tsgo. OpenAPI consumers should treat replies as the same shape. */ declare const publicCommentSchema: z.ZodObject<{ id: z.ZodString; authorName: z.ZodString; isRegisteredUser: z.ZodBoolean; body: z.ZodString; parentId: z.ZodNullable; createdAt: z.ZodString; replies: z.ZodOptional>; }>; /** Admin comment with full details */ declare const commentSchema: z.ZodObject<{ id: z.ZodString; collection: z.ZodString; contentId: z.ZodString; authorName: z.ZodString; authorEmail: z.ZodString; body: z.ZodString; status: z.ZodEnum<{ pending: "pending"; approved: "approved"; spam: "spam"; trash: "trash"; }>; parentId: z.ZodNullable; ipHash: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const publicCommentListResponseSchema: z.ZodObject<{ items: z.ZodArray; createdAt: z.ZodString; replies: z.ZodOptional>; }, z.core.$strip>>; nextCursor: z.ZodOptional; total: z.ZodNumber; }, z.core.$strip>; declare const adminCommentListResponseSchema: z.ZodObject<{ items: z.ZodArray; parentId: z.ZodNullable; ipHash: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const commentCountsResponseSchema: z.ZodObject<{ pending: z.ZodNumber; approved: z.ZodNumber; spam: z.ZodNumber; trash: z.ZodNumber; }, z.core.$strip>; declare const commentBulkResponseSchema: z.ZodObject<{ affected: z.ZodNumber; }, z.core.$strip>; //#endregion //#region src/api/schemas/auth.d.ts declare const signupRequestBody: z.ZodObject<{ email: z.ZodString; }, z.core.$strip>; declare const signupCompleteBody: z.ZodObject<{ token: z.ZodString; credential: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; attestationObject: z.ZodString; transports: z.ZodOptional>>; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional>; }, z.core.$strip>; name: z.ZodOptional; }, z.core.$strip>; declare const inviteCreateBody: z.ZodObject<{ email: z.ZodString; role: z.ZodOptional & z.ZodType<30 | 10 | 20 | 40 | 50, unknown, z.core.$ZodTypeInternals<30 | 10 | 20 | 40 | 50, unknown>>>; roleId: z.ZodOptional; }, z.core.$strip>; declare const inviteRegisterOptionsBody: z.ZodObject<{ token: z.ZodString; name: z.ZodOptional; }, z.core.$strip>; declare const inviteCompleteBody: z.ZodObject<{ token: z.ZodString; credential: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; attestationObject: z.ZodString; transports: z.ZodOptional>>; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional>; }, z.core.$strip>; name: z.ZodOptional; }, z.core.$strip>; declare const magicLinkSendBody: z.ZodObject<{ email: z.ZodString; }, z.core.$strip>; declare const passkeyOptionsBody: z.ZodObject<{ email: z.ZodOptional; }, z.core.$strip>; declare const passkeyVerifyBody: z.ZodObject<{ credential: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; authenticatorData: z.ZodString; signature: z.ZodString; userHandle: z.ZodOptional; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; declare const passkeyRegisterOptionsBody: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>; declare const passkeyRegisterVerifyBody: z.ZodObject<{ credential: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; attestationObject: z.ZodString; transports: z.ZodOptional>>; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional>; }, z.core.$strip>; name: z.ZodOptional; }, z.core.$strip>; declare const passkeyRenameBody: z.ZodObject<{ name: z.ZodString; }, z.core.$strip>; declare const authMeActionBody: z.ZodObject<{ action: z.ZodString; }, z.core.$strip>; //#endregion //#region src/api/schemas/menus.d.ts /** * Allowed menu item types. `custom` uses `customUrl`; the others resolve a URL * from `referenceCollection` + `referenceId` (a translation_group id). */ declare const menuItemTypeEnum: z.ZodEnum<{ collection: "collection"; custom: "custom"; page: "page"; post: "post"; taxonomy: "taxonomy"; }>; declare const createMenuBody: z.ZodObject<{ name: z.ZodString; label: z.ZodString; locale: z.ZodOptional; translationOf: z.ZodOptional; }, z.core.$strict>; declare const updateMenuBody: z.ZodObject<{ label: z.ZodOptional; }, z.core.$strict>; declare const createMenuItemBody: z.ZodObject<{ type: z.ZodEnum<{ collection: "collection"; custom: "custom"; page: "page"; post: "post"; taxonomy: "taxonomy"; }>; label: z.ZodString; referenceCollection: z.ZodOptional; referenceId: z.ZodOptional; customUrl: z.ZodOptional; target: z.ZodOptional; titleAttr: z.ZodOptional; cssClasses: z.ZodOptional; parentId: z.ZodOptional; sortOrder: z.ZodOptional; }, z.core.$strict>; declare const updateMenuItemBody: z.ZodObject<{ label: z.ZodOptional; customUrl: z.ZodOptional; target: z.ZodOptional; titleAttr: z.ZodOptional; cssClasses: z.ZodOptional; parentId: z.ZodOptional>; sortOrder: z.ZodOptional; }, z.core.$strict>; declare const reorderMenuItemsBody: z.ZodObject<{ items: z.ZodArray; sortOrder: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; declare const menuSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>; declare const menuItemSchema: z.ZodObject<{ id: z.ZodString; menuId: z.ZodString; parentId: z.ZodNullable; sortOrder: z.ZodNumber; type: z.ZodString; referenceCollection: z.ZodNullable; referenceId: z.ZodNullable; customUrl: z.ZodNullable; label: z.ZodString; titleAttr: z.ZodNullable; target: z.ZodNullable; cssClasses: z.ZodNullable; createdAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>; declare const menuTranslationsSchema: z.ZodObject<{ translationGroup: z.ZodNullable; translations: z.ZodArray>; }, z.core.$strip>; declare const menuListItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; itemCount: z.ZodNumber; }, z.core.$strip>; declare const menuWithItemsSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; items: z.ZodArray; sortOrder: z.ZodNumber; type: z.ZodString; referenceCollection: z.ZodNullable; referenceId: z.ZodNullable; customUrl: z.ZodNullable; label: z.ZodString; titleAttr: z.ZodNullable; target: z.ZodNullable; cssClasses: z.ZodNullable; createdAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; //#endregion //#region src/api/schemas/taxonomies.d.ts declare const createTaxonomyDefBody: z.ZodObject<{ name: z.ZodString; label: z.ZodString; labelSingular: z.ZodOptional; hierarchical: z.ZodDefault>; collections: z.ZodDefault>>; locale: z.ZodOptional; translationOf: z.ZodOptional; }, z.core.$strip>; /** * `name` and `locale` are absent on purpose: both identify the definition row * being written, and `.strict()` turns an attempt to change either into a 400 * rather than a silently ignored field. */ declare const updateTaxonomyDefBody: z.ZodObject<{ label: z.ZodOptional; labelSingular: z.ZodOptional>; hierarchical: z.ZodOptional; collections: z.ZodOptional>; }, z.core.$strict>; declare const createTermBody: z.ZodObject<{ slug: z.ZodOptional; label: z.ZodString; parentId: z.ZodOptional>; description: z.ZodOptional; locale: z.ZodOptional; translationOf: z.ZodOptional; }, z.core.$strip>; declare const updateTermBody: z.ZodObject<{ slug: z.ZodOptional; label: z.ZodOptional; parentId: z.ZodOptional>; description: z.ZodOptional; }, z.core.$strip>; declare const reorderTermsBody: z.ZodObject<{ parentId: z.ZodOptional>; ids: z.ZodArray; }, z.core.$strict>; declare const termListQuery: z.ZodObject<{ locale: z.ZodOptional; includeCounts: z.ZodDefault, z.ZodTransform>>>; resolveFallback: z.ZodDefault, z.ZodTransform>>>; }, z.core.$strip>; declare const taxonomyDefSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; labelSingular: z.ZodOptional; hierarchical: z.ZodBoolean; collections: z.ZodArray; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>; declare const taxonomyDefTranslationsSchema: z.ZodObject<{ translationGroup: z.ZodNullable; translations: z.ZodArray>; }, z.core.$strip>; declare const taxonomyListResponseSchema: z.ZodObject<{ taxonomies: z.ZodArray; hierarchical: z.ZodBoolean; collections: z.ZodArray; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; declare const taxonomyResponseSchema: z.ZodObject<{ taxonomy: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; labelSingular: z.ZodOptional; hierarchical: z.ZodBoolean; collections: z.ZodArray; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const termSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; slug: z.ZodString; label: z.ZodString; parentId: z.ZodNullable; description: z.ZodOptional; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>; declare const termTranslationsSchema: z.ZodObject<{ translationGroup: z.ZodNullable; translations: z.ZodArray>; }, z.core.$strip>; declare const termWithCountSchema: z.ZodType; declare const termListResponseSchema: z.ZodObject<{ terms: z.ZodArray>>; }, z.core.$strip>; declare const termResponseSchema: z.ZodObject<{ term: z.ZodObject<{ id: z.ZodString; name: z.ZodString; slug: z.ZodString; label: z.ZodString; parentId: z.ZodNullable; description: z.ZodOptional; locale: z.ZodString; translationGroup: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const termReorderResponseSchema: z.ZodObject<{ reordered: z.ZodLiteral; }, z.core.$strip>; declare const termGetResponseSchema: z.ZodObject<{ term: z.ZodObject<{ id: z.ZodString; name: z.ZodString; slug: z.ZodString; label: z.ZodString; parentId: z.ZodNullable; description: z.ZodOptional; locale: z.ZodString; translationGroup: z.ZodNullable; count: z.ZodNumber; children: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; //#endregion //#region src/api/schemas/sections.d.ts declare const sectionsListQuery: z.ZodObject<{ source: z.ZodOptional>; search: z.ZodOptional; limit: z.ZodDefault>>; cursor: z.ZodOptional; }, z.core.$strip>; declare const createSectionBody: z.ZodObject<{ slug: z.ZodString; title: z.ZodString; description: z.ZodOptional; keywords: z.ZodOptional>; content: z.ZodArray>; previewMediaId: z.ZodOptional; source: z.ZodOptional>; themeId: z.ZodOptional; }, z.core.$strip>; declare const updateSectionBody: z.ZodObject<{ slug: z.ZodOptional; title: z.ZodOptional; description: z.ZodOptional; keywords: z.ZodOptional>; content: z.ZodOptional>>; previewMediaId: z.ZodOptional>; }, z.core.$strip>; declare const sectionSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; title: z.ZodString; description: z.ZodNullable; keywords: z.ZodNullable>; content: z.ZodArray>; previewMediaId: z.ZodNullable; source: z.ZodString; themeId: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const sectionListResponseSchema: z.ZodObject<{ items: z.ZodArray; keywords: z.ZodNullable>; content: z.ZodArray>; previewMediaId: z.ZodNullable; source: z.ZodString; themeId: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; //#endregion //#region src/api/schemas/settings.d.ts declare const settingsUpdateBody: z.ZodObject<{ title: z.ZodOptional; tagline: z.ZodOptional; logo: z.ZodOptional; }, z.core.$strip>>; favicon: z.ZodOptional; }, z.core.$strip>>; url: z.ZodOptional]>>; postsPerPage: z.ZodOptional; dateFormat: z.ZodOptional; timezone: z.ZodOptional; social: z.ZodOptional; github: z.ZodOptional; facebook: z.ZodOptional; instagram: z.ZodOptional; linkedin: z.ZodOptional; youtube: z.ZodOptional; }, z.core.$strip>>; seo: z.ZodOptional; defaultOgImage: z.ZodOptional; }, z.core.$strip>>; robotsTxt: z.ZodOptional; googleVerification: z.ZodOptional; bingVerification: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const siteSettingsSchema: z.ZodObject<{ title: z.ZodOptional; tagline: z.ZodOptional; logo: z.ZodOptional; url: z.ZodOptional; contentType: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; }, z.core.$strip>>; favicon: z.ZodOptional; url: z.ZodOptional; contentType: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; }, z.core.$strip>>; url: z.ZodOptional; postsPerPage: z.ZodOptional; dateFormat: z.ZodOptional; timezone: z.ZodOptional; social: z.ZodOptional; github: z.ZodOptional; facebook: z.ZodOptional; instagram: z.ZodOptional; linkedin: z.ZodOptional; youtube: z.ZodOptional; }, z.core.$strip>>; seo: z.ZodOptional; defaultOgImage: z.ZodOptional; url: z.ZodOptional; contentType: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; }, z.core.$strip>>; robotsTxt: z.ZodOptional; googleVerification: z.ZodOptional; bingVerification: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; //#endregion //#region src/api/schemas/search.d.ts declare const searchQuery: z.ZodObject<{ q: z.ZodString; collections: z.ZodOptional; status: z.ZodOptional; locale: z.ZodOptional; limit: z.ZodOptional>; cursor: z.ZodOptional; }, z.core.$strip>; declare const searchSuggestQuery: z.ZodObject<{ q: z.ZodString; collections: z.ZodOptional; locale: z.ZodOptional; limit: z.ZodOptional>; }, z.core.$strip>; declare const searchRebuildBody: z.ZodObject<{ collection: z.ZodString; }, z.core.$strip>; declare const searchEnableBody: z.ZodObject<{ collection: z.ZodString; enabled: z.ZodBoolean; weights: z.ZodOptional>; tokenize: z.ZodOptional>; }, z.core.$strip>; declare const searchResultSchema: z.ZodObject<{ collection: z.ZodString; id: z.ZodString; slug: z.ZodNullable; locale: z.ZodString; title: z.ZodOptional; snippet: z.ZodOptional; score: z.ZodNumber; }, z.core.$strip>; declare const searchResponseSchema: z.ZodObject<{ items: z.ZodArray; locale: z.ZodString; title: z.ZodOptional; snippet: z.ZodOptional; score: z.ZodNumber; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; //#endregion //#region src/api/schemas/import.d.ts declare const importProbeBody: z.ZodObject<{ url: z.ZodString; }, z.core.$strip>; declare const wpPluginAnalyzeBody: z.ZodObject<{ url: z.ZodString; token: z.ZodString; }, z.core.$strip>; declare const wpPluginExecuteBody: z.ZodObject<{ url: z.ZodString; token: z.ZodString; config: z.ZodRecord; phase: z.ZodOptional>; cursor: z.ZodOptional; page: z.ZodDefault; }, z.core.$strip>>; idMap: z.ZodOptional>>; translationGroups: z.ZodOptional>; commentRoots: z.ZodOptional>; }, z.core.$strip>; declare const wpPrepareBody: z.ZodObject<{ postTypes: z.ZodArray; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>; declare const wpMediaImportBody: z.ZodObject<{ attachments: z.ZodArray>; stream: z.ZodOptional; }, z.core.$strip>; declare const wpRewriteUrlsBody: z.ZodObject<{ urlMap: z.ZodRecord; collections: z.ZodOptional>; }, z.core.$strip>; //#endregion //#region src/api/schemas/setup.d.ts declare const setupBody: z.ZodObject<{ title: z.ZodString; tagline: z.ZodOptional; includeContent: z.ZodBoolean; }, z.core.$strip>; declare const setupAdminBody: z.ZodObject<{ email: z.ZodString; name: z.ZodOptional; }, z.core.$strip>; declare const setupAdminVerifyBody: z.ZodObject<{ credential: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; attestationObject: z.ZodString; transports: z.ZodOptional>>; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; declare const atprotoLoginBody: z.ZodObject<{ handle: z.ZodString; }, z.core.$strip>; declare const setupAtprotoAdminBody: z.ZodObject<{ handle: z.ZodString; }, z.core.$strip>; //#endregion //#region src/api/schemas/users.d.ts declare const usersListQuery: z.ZodObject<{ search: z.ZodOptional; role: z.ZodOptional; roleId: z.ZodOptional; cursor: z.ZodOptional; limit: z.ZodDefault>>; }, z.core.$strip>; declare const userUpdateBody: z.ZodObject<{ name: z.ZodOptional; email: z.ZodOptional; role: z.ZodOptional & z.ZodType<30 | 10 | 20 | 40 | 50, unknown, z.core.$ZodTypeInternals<30 | 10 | 20 | 40 | 50, unknown>>>; roleId: z.ZodOptional; }, z.core.$strip>; declare const allowedDomainCreateBody: z.ZodObject<{ domain: z.ZodString; defaultRole: z.ZodOptional & z.ZodType<30 | 10 | 20 | 40 | 50, unknown, z.core.$ZodTypeInternals<30 | 10 | 20 | 40 | 50, unknown>>>; defaultRoleId: z.ZodOptional; }, z.core.$strip>; declare const allowedDomainUpdateBody: z.ZodObject<{ enabled: z.ZodOptional; defaultRole: z.ZodOptional & z.ZodType<30 | 10 | 20 | 40 | 50, unknown, z.core.$ZodTypeInternals<30 | 10 | 20 | 40 | 50, unknown>>>; defaultRoleId: z.ZodOptional; }, z.core.$strip>; declare const userSchema: z.ZodObject<{ id: z.ZodString; email: z.ZodString; name: z.ZodNullable; avatarUrl: z.ZodNullable; role: z.ZodNumber; roleId: z.ZodOptional>; emailVerified: z.ZodBoolean; disabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; lastLogin: z.ZodNullable; credentialCount: z.ZodOptional; oauthProviders: z.ZodOptional>; }, z.core.$strip>; declare const userListResponseSchema: z.ZodObject<{ items: z.ZodArray; avatarUrl: z.ZodNullable; role: z.ZodNumber; roleId: z.ZodOptional>; emailVerified: z.ZodBoolean; disabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; lastLogin: z.ZodNullable; credentialCount: z.ZodOptional; oauthProviders: z.ZodOptional>; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const userDetailSchema: z.ZodObject<{ id: z.ZodString; email: z.ZodString; name: z.ZodNullable; avatarUrl: z.ZodNullable; role: z.ZodNumber; emailVerified: z.ZodBoolean; disabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; lastLogin: z.ZodNullable; credentials: z.ZodArray; deviceType: z.ZodNullable; createdAt: z.ZodString; lastUsedAt: z.ZodString; }, z.core.$strip>>; oauthAccounts: z.ZodArray>; }, z.core.$strip>; //#endregion //#region src/api/schemas/widgets.d.ts declare const createWidgetAreaBody: z.ZodObject<{ name: z.ZodString; label: z.ZodString; description: z.ZodOptional; }, z.core.$strip>; declare const createWidgetBody: z.ZodObject<{ type: z.ZodEnum<{ content: "content"; menu: "menu"; component: "component"; }>; title: z.ZodOptional; content: z.ZodOptional>>; menuName: z.ZodOptional; componentId: z.ZodOptional; componentProps: z.ZodOptional>; }, z.core.$strip>; declare const updateWidgetBody: z.ZodObject<{ type: z.ZodOptional>; title: z.ZodOptional; content: z.ZodOptional>>; menuName: z.ZodOptional; componentId: z.ZodOptional; componentProps: z.ZodOptional>; }, z.core.$strip>; declare const reorderWidgetsBody: z.ZodObject<{ widgetIds: z.ZodArray; }, z.core.$strip>; declare const widgetAreaSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; description: z.ZodNullable; created_at: z.ZodString; updated_at: z.ZodString; }, z.core.$strip>; declare const widgetSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ content: "content"; menu: "menu"; component: "component"; }>; title: z.ZodOptional; content: z.ZodOptional>>; menuName: z.ZodOptional; componentId: z.ZodOptional; componentProps: z.ZodOptional>; }, z.core.$strip>; declare const widgetAreaWithWidgetsSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; description: z.ZodNullable; created_at: z.ZodString; updated_at: z.ZodString; widgets: z.ZodArray; title: z.ZodOptional; content: z.ZodOptional>>; menuName: z.ZodOptional; componentId: z.ZodOptional; componentProps: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; declare const widgetAreaWithWidgetsAndCountSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; label: z.ZodString; description: z.ZodNullable; created_at: z.ZodString; updated_at: z.ZodString; widgets: z.ZodArray; title: z.ZodOptional; content: z.ZodOptional>>; menuName: z.ZodOptional; componentId: z.ZodOptional; componentProps: z.ZodOptional>; }, z.core.$strip>>; widgetCount: z.ZodNumber; }, z.core.$strip>; //#endregion //#region src/api/schemas/redirects.d.ts declare const createRedirectBody: z.ZodObject<{ source: z.ZodString; destination: z.ZodOptional]>>; type: z.ZodDefault>>; enabled: z.ZodDefault>; groupName: z.ZodOptional>; }, z.core.$strip>; declare const updateRedirectBody: z.ZodObject<{ source: z.ZodOptional; destination: z.ZodOptional]>>; type: z.ZodOptional>; enabled: z.ZodOptional; groupName: z.ZodOptional>; }, z.core.$strip>; declare const redirectsListQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; search: z.ZodOptional; group: z.ZodOptional; enabled: z.ZodOptional, z.ZodTransform>>; auto: z.ZodOptional, z.ZodTransform>>; }, z.core.$strip>; declare const notFoundListQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; search: z.ZodOptional; }, z.core.$strip>; declare const notFoundSummaryQuery: z.ZodObject<{ limit: z.ZodDefault>>; }, z.core.$strip>; declare const notFoundPruneBody: z.ZodObject<{ olderThan: z.ZodString; }, z.core.$strip>; declare const redirectSchema: z.ZodObject<{ id: z.ZodString; source: z.ZodString; destination: z.ZodString; type: z.ZodNumber; isPattern: z.ZodBoolean; enabled: z.ZodBoolean; hits: z.ZodNumber; lastHitAt: z.ZodNullable; groupName: z.ZodNullable; auto: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const redirectListResponseSchema: z.ZodObject<{ items: z.ZodArray; groupName: z.ZodNullable; auto: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; loopRedirectIds: z.ZodOptional>; }, z.core.$strip>; declare const notFoundEntrySchema: z.ZodObject<{ id: z.ZodString; path: z.ZodString; referrer: z.ZodNullable; userAgent: z.ZodNullable; ip: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; declare const notFoundListResponseSchema: z.ZodObject<{ items: z.ZodArray; userAgent: z.ZodNullable; ip: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const notFoundSummarySchema: z.ZodObject<{ path: z.ZodString; count: z.ZodNumber; lastSeen: z.ZodString; topReferrer: z.ZodNullable; }, z.core.$strip>; declare const notFoundSummaryResponseSchema: z.ZodObject<{ items: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; //#endregion //#region src/api/schemas/bylines.d.ts declare const bylineSummarySchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; displayName: z.ZodString; bio: z.ZodNullable; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>; declare const bylineCreditSchema: z.ZodObject<{ byline: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; displayName: z.ZodString; bio: z.ZodNullable; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>; sortOrder: z.ZodNumber; roleLabel: z.ZodNullable; source: z.ZodOptional>; }, z.core.$strip>; declare const contentBylineInputSchema: z.ZodObject<{ bylineId: z.ZodString; roleLabel: z.ZodOptional>; }, z.core.$strip>; declare const bylinesListQuery: z.ZodObject<{ cursor: z.ZodOptional; limit: z.ZodDefault>>; search: z.ZodOptional; isGuest: z.ZodOptional>; userId: z.ZodOptional; locale: z.ZodOptional; }, z.core.$strip>; declare const bylineCreateBody: z.ZodObject<{ slug: z.ZodString; displayName: z.ZodString; bio: z.ZodOptional>; avatarMediaId: z.ZodOptional>; websiteUrl: z.ZodOptional>; userId: z.ZodOptional>; isGuest: z.ZodOptional; locale: z.ZodOptional; translationOf: z.ZodOptional; customFields: z.ZodOptional>; }, z.core.$strip>; declare const bylineTranslationCreateBody: z.ZodObject<{ locale: z.ZodString; slug: z.ZodOptional; displayName: z.ZodOptional; bio: z.ZodOptional>; avatarMediaId: z.ZodOptional>; websiteUrl: z.ZodOptional>; }, z.core.$strip>; declare const bylineTranslationsResponseSchema: z.ZodObject<{ items: z.ZodArray; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>>; }, z.core.$strip>; declare const bylineUpdateBody: z.ZodObject<{ slug: z.ZodOptional; displayName: z.ZodOptional; bio: z.ZodOptional>; avatarMediaId: z.ZodOptional>; websiteUrl: z.ZodOptional>; userId: z.ZodOptional>; isGuest: z.ZodOptional; customFields: z.ZodOptional>; }, z.core.$strip>; declare const bylineListResponseSchema: z.ZodObject<{ items: z.ZodArray; avatarMediaId: z.ZodNullable; avatarStorageKey: z.ZodOptional>; avatarAlt: z.ZodOptional>; avatarBlurhash: z.ZodOptional>; avatarDominantColor: z.ZodOptional>; websiteUrl: z.ZodNullable; userId: z.ZodNullable; isGuest: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; locale: z.ZodString; translationGroup: z.ZodNullable; customFields: z.ZodOptional>>; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; //#endregion //#region src/api/schemas/byline-fields.d.ts declare const bylineFieldCreateBody: z.ZodObject<{ slug: z.ZodString; label: z.ZodString; type: z.ZodEnum<{ string: "string"; boolean: "boolean"; url: "url"; text: "text"; select: "select"; }>; required: z.ZodOptional; translatable: z.ZodOptional; validation: z.ZodOptional>; }, z.core.$strict>>>; sortOrder: z.ZodOptional; }, z.core.$strict>; /** * Update body. `slug` and `type` are intentionally absent — both are * immutable post-create (changing them would invalidate stored values). * `translatable` flips are gated at the registry layer when value rows * exist (`TRANSLATABLE_LOCKED`). */ declare const bylineFieldUpdateBody: z.ZodObject<{ label: z.ZodOptional; required: z.ZodOptional; translatable: z.ZodOptional; validation: z.ZodOptional>; }, z.core.$strict>>>; sortOrder: z.ZodOptional; }, z.core.$strict>; declare const bylineFieldReorderBody: z.ZodObject<{ slugs: z.ZodArray; }, z.core.$strict>; declare const bylineFieldDefinitionSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; label: z.ZodString; type: z.ZodEnum<{ string: "string"; boolean: "boolean"; url: "url"; text: "text"; select: "select"; }>; required: z.ZodBoolean; translatable: z.ZodBoolean; validation: z.ZodNullable>; }, z.core.$strip>>; sortOrder: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const bylineFieldListResponseSchema: z.ZodObject<{ items: z.ZodArray; required: z.ZodBoolean; translatable: z.ZodBoolean; validation: z.ZodNullable>; }, z.core.$strip>>; sortOrder: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; /** * Response shape for `GET /api/admin/byline-fields/[slug]/usage`. * * `translatableValueCount` counts rows in `_emdash_byline_field_values`. * `groupValueCount` counts rows in `_emdash_byline_field_group_values`. * `totalAffectedRows` is the sum — what the destructive-delete confirm * dialog surfaces. Both individual counts are exposed for diagnostic * value (e.g. inconsistency with the field's current `translatable` * flag would show non-zero on the "wrong" side). */ declare const bylineFieldUsageResponseSchema: z.ZodObject<{ translatableValueCount: z.ZodNumber; groupValueCount: z.ZodNumber; totalAffectedRows: z.ZodNumber; }, z.core.$strip>; //#endregion //#region src/api/schemas/relations.d.ts declare const createRelationBody: z.ZodObject<{ name: z.ZodString; parentCollection: z.ZodOptional; childCollection: z.ZodOptional; parentLabel: z.ZodString; childLabel: z.ZodString; locale: z.ZodOptional; translationOf: z.ZodOptional; }, z.core.$strip>; declare const updateRelationBody: z.ZodObject<{ parentLabel: z.ZodOptional; childLabel: z.ZodOptional; }, z.core.$strip>; declare const setReferenceChildrenBody: z.ZodObject<{ childIds: z.ZodArray; }, z.core.$strip>; declare const relationDefSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; parentCollection: z.ZodString; childCollection: z.ZodString; parentLabel: z.ZodString; childLabel: z.ZodString; locale: z.ZodString; translationGroup: z.ZodString; }, z.core.$strip>; declare const relationListResponseSchema: z.ZodObject<{ relations: z.ZodArray>; }, z.core.$strip>; declare const relationResponseSchema: z.ZodObject<{ relation: z.ZodObject<{ id: z.ZodString; name: z.ZodString; parentCollection: z.ZodString; childCollection: z.ZodString; parentLabel: z.ZodString; childLabel: z.ZodString; locale: z.ZodString; translationGroup: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const relationTranslationsSchema: z.ZodObject<{ translationGroup: z.ZodString; translations: z.ZodArray>; }, z.core.$strip>; declare const entryRefSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodNullable; collection: z.ZodString; locale: z.ZodNullable; sortOrder: z.ZodOptional; }, z.core.$strip>; declare const referenceChildrenResponseSchema: z.ZodObject<{ children: z.ZodArray; collection: z.ZodString; locale: z.ZodNullable; sortOrder: z.ZodOptional; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; declare const referenceParentsResponseSchema: z.ZodObject<{ parents: z.ZodArray; collection: z.ZodString; locale: z.ZodNullable; sortOrder: z.ZodOptional; }, z.core.$strip>>; nextCursor: z.ZodOptional; }, z.core.$strip>; //#endregion //#region src/api/schemas/authz.d.ts declare const policyRulesBody: z.ZodObject<{ routes: z.ZodOptional>; permissions: z.ZodOptional>; adminPages: z.ZodOptional>; ownOnly: z.ZodOptional; collections: z.ZodOptional>; mcpTools: z.ZodOptional>; deny: z.ZodOptional>; permissions: z.ZodOptional>; adminPages: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; declare const roleCreateBody: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; description: z.ZodOptional>; level: z.ZodOptional, z.ZodLiteral<20>, z.ZodLiteral<30>, z.ZodLiteral<40>, z.ZodLiteral<50>]>>; policies: z.ZodOptional>; }, z.core.$strip>; declare const roleUpdateBody: z.ZodObject<{ slug: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; level: z.ZodOptional, z.ZodLiteral<20>, z.ZodLiteral<30>, z.ZodLiteral<40>, z.ZodLiteral<50>]>>>; policies: z.ZodOptional>>; }, z.core.$strip>; declare const policyCreateBody: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; description: z.ZodOptional>; rules: z.ZodObject<{ routes: z.ZodOptional>; permissions: z.ZodOptional>; adminPages: z.ZodOptional>; ownOnly: z.ZodOptional; collections: z.ZodOptional>; mcpTools: z.ZodOptional>; deny: z.ZodOptional>; permissions: z.ZodOptional>; adminPages: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strip>; declare const policyUpdateBody: z.ZodObject<{ slug: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; rules: z.ZodOptional>; permissions: z.ZodOptional>; adminPages: z.ZodOptional>; ownOnly: z.ZodOptional; collections: z.ZodOptional>; mcpTools: z.ZodOptional>; deny: z.ZodOptional>; permissions: z.ZodOptional>; adminPages: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>; /** `roleId` is a role id or slug; `role` is the legacy level (mapped to a built-in). */ declare const roleRef: z.ZodObject<{ roleId: z.ZodOptional; }, z.core.$strip>; //#endregion export { allowedDomainUpdateBody as $, MediaUsageRepairRequest as $n, mediaUploadUrlResponseSchema as $r, menuWithItemsSchema as $t, bylinesListQuery as A, roleLevel as Ai, collectionSchema as An, mediaUsageWorkRetryBody as Ar, createTermBody as At, redirectListResponseSchema as B, orphanedTableSchema as Bn, mediaGetQuery as Br, termResponseSchema as Bt, bylineCreateBody as C, countResponseSchema as Ci, createReactionBody as Cn, mediaUsageRepairResponseSchema as Cr, siteSettingsSchema as Ct, bylineTranslationCreateBody as D, localeCode as Di, collectionListResponseSchema as Dn, mediaUsageWorkItemSchema as Dr, sectionsListQuery as Dt, bylineSummarySchema as E, httpUrl as Ei, collectionGetQuery as En, mediaUsageSummarySchema as Er, sectionSchema as Et, notFoundListResponseSchema as F, fieldReorderBody as Fn, DEFAULT_MAX_UPLOAD_SIZE as Fr, taxonomyResponseSchema as Ft, createWidgetBody as G, MediaUsageCollectionDeletionListResponse as Gn, mediaListResponseSchema as Gr, updateTermBody as Gt, redirectsListQuery as H, updateCollectionBody as Hn, mediaListQuery as Hr, termTranslationsSchema as Ht, notFoundPruneBody as I, fieldResponseSchema as In, formatFileSize as Ir, termGetResponseSchema as It, widgetAreaSchema as J, MediaUsageCoverage as Jn, mediaReadResponseSchema as Jr, menuItemSchema as Jt, reorderWidgetsBody as K, MediaUsageCollectionDeletionRetryRequest as Kn, mediaProviderListQuery as Kr, createMenuBody as Kt, notFoundSummaryQuery as L, fieldSchema as Ln, mediaConfirmBody as Lr, termListQuery as Lt, createRedirectBody as M, successEnvelope as Mi, createCollectionBody as Mn, mediaUsageWorkRetryResponseSchema as Mr, taxonomyDefSchema as Mt, notFoundEntrySchema as N, createFieldBody as Nn, mediaUsageWorkStateSchema as Nr, taxonomyDefTranslationsSchema as Nt, bylineTranslationsResponseSchema as O, localeFilterQuery as Oi, collectionReorderBody as On, mediaUsageWorkListQuery as Or, updateSectionBody as Ot, notFoundListQuery as P, fieldListResponseSchema as Pn, CONTENT_TYPE_RE as Pr, taxonomyListResponseSchema as Pt, allowedDomainCreateBody as Q, MediaUsageOccurrenceDetail as Qn, mediaUploadUrlBody as Qr, menuTranslationsSchema as Qt, notFoundSummaryResponseSchema as R, orphanRegisterBody as Rn, mediaConfirmResponseSchema as Rr, termListResponseSchema as Rt, bylineFieldUsageResponseSchema as S, apiErrorSchema as Si, createCommentBody as Sn, mediaUsageRepairCollectionSummarySchema as Sr, settingsUpdateBody as St, bylineListResponseSchema as T, deleteResponseSchema as Ti, publicCommentSchema as Tn, mediaUsageSourceDetailSchema as Tr, sectionListResponseSchema as Tt, updateRedirectBody as U, updateFieldBody as Un, mediaListReadItemSchema as Ur, termWithCountSchema as Ut, redirectSchema as V, schemaExportQuery as Vn, mediaItemSchema as Vr, termSchema as Vt, createWidgetAreaBody as W, MediaUsageCollectionDeletionListQuery as Wn, mediaListReadResponseSchema as Wr, updateTaxonomyDefBody as Wt, widgetAreaWithWidgetsSchema as X, MediaUsageDetailsResponse as Xn, mediaStreamUploadResponseSchema as Xr, menuListItemSchema as Xt, widgetAreaWithWidgetsAndCountSchema as Y, MediaUsageCoverageStatus as Yn, mediaResponseSchema as Yr, menuItemTypeEnum as Yt, widgetSchema as Z, MediaUsageEntryDetail as Zn, mediaUpdateBody as Zr, menuSchema as Zt, bylineFieldCreateBody as _, contentTrashQuery as _i, commentBulkResponseSchema as _n, mediaUsageDetailsQuery as _r, searchQuery as _t, roleRef as a, contentItemSchema as ai, inviteCreateBody as an, MediaUsageWorkListResponse as ar, atprotoLoginBody as at, bylineFieldReorderBody as b, trashedContentListResponseSchema as bi, commentSchema as bn, mediaUsageOccurrenceDetailSchema as br, searchResultSchema as bt, entryRefSchema as c, contentPreviewUrlBody as ci, passkeyOptionsBody as cn, mediaUsageCollectionDeletionItemSchema as cr, setupAtprotoAdminBody as ct, relationDefSchema as d, contentScheduleBody as di, passkeyRenameBody as dn, mediaUsageCollectionDeletionPhaseSchema as dr, wpMediaImportBody as dt, contentAuthorSchema as ei, reorderMenuItemsBody as en, MediaUsageRepairResponse as er, userDetailSchema as et, relationListResponseSchema as f, contentSeoInput as fi, passkeyVerifyBody as fn, mediaUsageCollectionDeletionRetryBody as fr, wpPluginAnalyzeBody as ft, updateRelationBody as g, contentTranslationsResponseSchema as gi, commentBulkBody as gn, mediaUsageCoverageStatusSchema as gr, searchEnableBody as gt, setReferenceChildrenBody as h, contentTranslationSchema as hi, adminCommentListResponseSchema as hn, mediaUsageCoverageSchema as hr, wpRewriteUrlsBody as ht, roleCreateBody as i, contentFieldFiltersSchema as ii, inviteCompleteBody as in, MediaUsageWorkListQuery as ir, usersListQuery as it, contentBylineInputSchema as j, slugPattern as ji, collectionWithFieldsResponseSchema as jn, mediaUsageWorkRetryConflictSchema as jr, reorderTermsBody as jt, bylineUpdateBody as k, offsetPaginationQuery as ki, collectionResponseSchema as kn, mediaUsageWorkListResponseSchema as kr, createTaxonomyDefBody as kt, referenceChildrenResponseSchema as l, contentPublishBody as li, passkeyRegisterOptionsBody as ln, mediaUsageCollectionDeletionListQuery as lr, setupBody as lt, relationTranslationsSchema as m, contentTermsBody as mi, signupRequestBody as mn, mediaUsageCollectionDeletionStateSchema as mr, wpPrepareBody as mt, policyRulesBody as n, contentCompareResponseSchema as ni, updateMenuItemBody as nn, MediaUsageSummary as nr, userSchema as nt, roleUpdateBody as o, contentListQuery as oi, inviteRegisterOptionsBody as on, MediaUsageWorkRetryRequest as or, setupAdminBody as ot, relationResponseSchema as p, contentSeoSchema as pi, signupCompleteBody as pn, mediaUsageCollectionDeletionRetryResponseSchema as pr, wpPluginExecuteBody as pt, updateWidgetBody as q, MediaUsageCollectionDeletionRetryResponse as qn, mediaReadItemSchema as qr, createMenuItemBody as qt, policyUpdateBody as r, contentCreateBody as ri, authMeActionBody as rn, MediaUsageWorkItem as rr, userUpdateBody as rt, createRelationBody as s, contentListResponseSchema as si, magicLinkSendBody as sn, MediaUsageWorkRetryResponse as sr, setupAdminVerifyBody as st, policyCreateBody as t, contentAuthorsResponseSchema as ti, updateMenuBody as tn, MediaUsageSourceDetail as tr, userListResponseSchema as tt, referenceParentsResponseSchema as u, contentResponseSchema as ui, passkeyRegisterVerifyBody as un, mediaUsageCollectionDeletionListResponseSchema as ur, importProbeBody as ut, bylineFieldDefinitionSchema as v, contentUpdateBody as vi, commentCountsResponseSchema as vn, mediaUsageDetailsResponseSchema as vr, searchRebuildBody as vt, bylineCreditSchema as w, cursorPaginationQuery as wi, publicCommentListResponseSchema as wn, mediaUsageRepairStatusSchema as wr, createSectionBody as wt, bylineFieldUpdateBody as x, VALID_ROLE_LEVELS as xi, commentStatusBody as xn, mediaUsageRepairBody as xr, searchSuggestQuery as xt, bylineFieldListResponseSchema as y, trashedContentItemSchema as yi, commentListQuery as yn, mediaUsageEntryDetailSchema as yr, searchResponseSchema as yt, notFoundSummarySchema as z, orphanedTableListResponseSchema as zn, mediaExistingResponseSchema as zr, termReorderResponseSchema as zt }; //# sourceMappingURL=authz-cKSuylYa.d.mts.map