import { type QueryClient } from "@tanstack/react-query"; import { z } from "zod"; import { type AuthStrategy } from "../../EditorConfig"; export declare const languageSchema: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; export declare const documentVersionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"unclassified">; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>; declare const documentVersionSchema: z.ZodIntersection; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>; declare const documentSearchVersionSchema: z.ZodIntersection; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_id: z.ZodOptional; summary: z.ZodOptional; author_ids: z.ZodOptional>; highlights: z.ZodOptional; }, "strip", z.ZodTypeAny, { uid?: string | undefined; }, { uid?: string | undefined; }>>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; }>>; export declare function isDocumentVersion(value: unknown): value is z.infer; export declare function isDocumentSearchVersion(value: unknown): value is z.infer; export declare const documentMetaSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodEffects>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; language: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; ai_abm_thread_id: z.ZodEffects>, string | undefined, string | null | undefined>; versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }>; declare const getDocumentListSchema: z.ZodObject<{ total: z.ZodNumber; cursor: z.ZodOptional; results: z.ZodArray>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; language: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; ai_abm_thread_id: z.ZodEffects>, string | undefined, string | null | undefined>; versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, { results: { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }[]; total: number; cursor?: string | undefined; }>; declare const documentSearchDocumentSchema: z.ZodEffects>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; interesting_versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_id: z.ZodOptional; summary: z.ZodOptional; author_ids: z.ZodOptional>; highlights: z.ZodOptional; }, "strip", z.ZodTypeAny, { uid?: string | undefined; }, { uid?: string | undefined; }>>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; }>>, "many">; locale_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; locale_id?: string | undefined; }, { id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; title?: string | null | undefined; locale_id?: string | undefined; }>, { title: string; id: string; custom_type_id: string; group_lang_id: string; locale_id?: string | undefined; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; }, { id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; title?: string | null | undefined; locale_id?: string | undefined; }>; declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{ results: z.ZodArray>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; interesting_versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_id: z.ZodOptional; summary: z.ZodOptional; author_ids: z.ZodOptional>; highlights: z.ZodOptional; }, "strip", z.ZodTypeAny, { uid?: string | undefined; }, { uid?: string | undefined; }>>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; }>>, "many">; locale_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; locale_id?: string | undefined; }, { id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; title?: string | null | undefined; locale_id?: string | undefined; }>, { title: string; id: string; custom_type_id: string; group_lang_id: string; locale_id?: string | undefined; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; }, { id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; title?: string | null | undefined; locale_id?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { title: string; id: string; custom_type_id: string; group_lang_id: string; locale_id?: string | undefined; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; }[]; }, { results: { id: string; custom_type_id: string; group_lang_id: string; interesting_versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; summary?: string | undefined; uid?: string | undefined; preview_image?: string | undefined; custom_type_id?: string | undefined; author_ids?: string[] | undefined; highlights?: { uid?: string | undefined; } | undefined; })[]; title?: string | null | undefined; locale_id?: string | undefined; }[]; }>; export type Language = z.TypeOf; export type GetDocumentListSchema = z.TypeOf; export type DocumentFullTextSearchApi = z.TypeOf; export type DocumentMeta = z.TypeOf; export type DocumentSearchMeta = z.TypeOf; export type DocumentVersion = z.TypeOf; export type SimpleDocumentStatus = DocumentVersion["status"]; type ReleaseId = string; export type DocumentStatus = SimpleDocumentStatus | `release:${ReleaseId}`; export interface GetDocumentListArgs { baseUrl: URL; authStrategy: AuthStrategy; signal?: AbortSignal | null | undefined; schema?: Schema; limit?: number; cursor?: string; statuses?: DocumentStatus[]; authors?: string[]; language?: string; groupLangIds?: string[]; documentIds?: string[]; customTypes?: string[]; tags?: string[]; term?: string; uids?: string[]; } export declare function getDocumentList(args: GetDocumentListArgs): Promise>; export declare function searchFullTextDocuments(baseUrl: URL, authStrategy: AuthStrategy, queryString: string, options?: Pick): Promise; export declare function makeSearchFullTextDocumentsQueryString(args: { repository: string; searchTerm?: string; tags?: string[]; authors?: string[]; status?: string[]; localeId?: string; customTypesIds?: string[]; }): string; export declare function createSearchParams(params: { name: T; values: (string | undefined)[]; }[]): [string, string][]; export declare function getDocumentMeta(baseUrl: URL, authStrategy: AuthStrategy, documentId: string): Promise; export declare function documentMetaKey(documentId: string): readonly ["documentMeta", string]; interface DocumentMetaOptionsArgs { baseUrl: URL; authStrategy: AuthStrategy; documentId: string; } export declare function getDocumentMetaOptions(args: DocumentMetaOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{ language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, Error, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, readonly ["documentMeta", string]> & { initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{ language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }> | undefined; } & { queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E; }; export declare function useEditorDocumentMeta(documentId: string): { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }; export declare const Document: z.ZodEffects; export type Document = z.TypeOf; export declare const sliceItemContentSchema: z.ZodEffects; export declare const documentKeys: { all: () => readonly ["documents"]; lists: () => readonly ["documents", "list"]; list: (args: GetDocumentListArgs) => readonly ["documents", "list", GetDocumentListArgs; results: z.ZodArray>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; language: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; ai_abm_thread_id: z.ZodEffects>, string | undefined, string | null | undefined>; versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, { results: { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }[]; total: number; cursor?: string | undefined; }>>]; infiniteLists: () => readonly ["documents", "list:infinite"]; infiniteList: (args: GetDocumentListArgs) => readonly ["documents", "list:infinite", GetDocumentListArgs; results: z.ZodArray>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; language: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; ai_abm_thread_id: z.ZodEffects>, string | undefined, string | null | undefined>; versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, { results: { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }[]; total: number; cursor?: string | undefined; }>>]; }; /** * Returns updated document or undefined if document should be removed */ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSchema) => DocumentMeta | undefined; interface UpdateDocumentListDataArgs { queryClient: QueryClient; updateFunction: UpdateDocumentFunction; /** * Include or exclude stale queries from the update. * * updateDocumentListData() makes queries fresh. If the queries are already * stale, it's best to keep them untouched and let them refetch instead of * modifying the cache manually. * * Use stale: false to exclude stale queries from the update. */ stale?: boolean; } export declare function updateDocumentListData(args: UpdateDocumentListDataArgs): void; /** * @deprecated ⚠️ Don't add new usages of this and try to remove existing usages as much as possible. * * This is not scalable: If you scroll 30 pages of data and call invalidateDocumentListData(), * we will instantly make 30 expensive queries to the core API (or the next time we visit one of the infinite lists). * We should create a toast with an action that will only reload the first page, at your convenience. * For now, only bulk actions make use of this toast approach but we should share and reuse that logic. */ export declare function invalidateDocumentListData(queryClient: QueryClient): Promise; export declare function resetFirstDocumentListPage(queryClient: QueryClient): Promise; export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{ results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, Error, { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, readonly ["documents", "list", GetDocumentListArgs; results: z.ZodArray>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; language: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; ai_abm_thread_id: z.ZodEffects>, string | undefined, string | null | undefined>; versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, { results: { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }[]; total: number; cursor?: string | undefined; }>>]> & { initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{ results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }> | undefined; } & { queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E; results: z.ZodArray>, string, string | null | undefined>; custom_type_id: z.ZodString; group_lang_id: z.ZodString; language: z.ZodEffects; }, "strip", z.ZodTypeAny, { id: string; name: string; is_master: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>, { id: string; label: string; isMaster: boolean; }, { id: string; name: string; is_master?: boolean | undefined; }>; ai_abm_thread_id: z.ZodEffects>, string | undefined, string | null | undefined>; versions: z.ZodArray; }, "strip", z.ZodTypeAny, { status: "unclassified"; }, { status: "unclassified"; }>, z.ZodObject<{ status: z.ZodLiteral<"published">; }, "strip", z.ZodTypeAny, { status: "published"; }, { status: "published"; }>, z.ZodObject<{ status: z.ZodLiteral<"release">; release_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "release"; release_id: string; }, { status: "release"; release_id: string; }>, z.ZodObject<{ status: z.ZodLiteral<"archived">; }, "strip", z.ZodTypeAny, { status: "archived"; }, { status: "archived"; }>]>, z.ZodObject; preview_image: z.ZodOptional; last_modified_date: z.ZodDate; uid: z.ZodOptional; }, { custom_type_label: z.ZodString; preview_summary: z.ZodOptional; author: z.ZodObject<{ id: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; uploadedAvatar: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }, { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }>; }>, "strip", z.ZodTypeAny, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }, { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }, { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }, { results: { language: { id: string; name: string; is_master?: boolean | undefined; }; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; title?: string | null | undefined; ai_abm_thread_id?: string | null | undefined; }[]; total: number; cursor?: string | undefined; }>>], { results: { language: { id: string; label: string; isMaster: boolean; }; title: string; id: string; custom_type_id: string; group_lang_id: string; versions: (({ status: "unclassified"; } | { status: "published"; } | { status: "release"; release_id: string; } | { status: "archived"; }) & { tags: string[]; version_id: string; last_modified_date: Date; custom_type_label: string; author: { email?: string | undefined; id?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; uploadedAvatar?: string | undefined; }; uid?: string | undefined; preview_image?: string | undefined; preview_summary?: string | undefined; })[]; ai_abm_thread_id?: string | undefined; }[]; total: number; cursor?: string | undefined; }>; }; export {};