import { Core } from '@strapi/strapi'; import { Context as KoaContext } from 'koa'; import * as z from 'zod'; export type KoaContextExtension = { request: KoaContext['request'] & { body: unknown; }; }; export default function adminController(context: { strapi: Core.Strapi; }): { getAdminService(): { config({ viaSettingsPage }: import("../services/admin/types").ConfigInput): Promise; configContentTypes({ viaSettingsPage, }: import("../services/admin/types").ConfigInput): Promise; get({ ids, locale }: import("../services/admin/types").GetInput): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }[]>; getById({ documentId, locale, populate }: import("../services/admin/types").GetByIdInput): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }>; post({ auditLog, payload }: import("../services/admin/types").PostInput): Promise; put({ auditLog, payload }: import("../services/admin/types").PutInput): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }>; delete({ auditLog, documentId }: import("../services/admin/types").DeleteInput): Promise; restart(): Promise; restoreConfig(): Promise; refreshNavigationLocale(newLocale?: string | undefined): Promise; updateConfig({ config: newConfig }: import("../services/admin/types").UpdateConfigInput): Promise; fillFromOtherLocale({ auditLog, source, target, documentId, }: import("../services/admin/types").FillFromOtherLocaleInput): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }>; i18nNavigationContentsCopy({ source, target, }: import("../services/admin/types").I18nNavigationContentsCopyInput): Promise; readNavigationItemFromLocale({ path, source, target, }: import("../services/admin/types").ReadNavigationItemFromLocaleInput): Promise<{ type: "INTERNAL" | "EXTERNAL" | "WRAPPER"; title: string; uiRouterKey: string; path?: string | null | undefined; externalPath?: string | null | undefined; related?: unknown; }>; getContentTypeItems({ query, uid, }: import("../services/admin/types").GetContentTypeItemsInput): Promise<{ documentId: string; }[]>; purgeNavigationCache(documentId: string, clearLocalisations?: boolean | undefined): Promise<{ success: boolean; }>; purgeNavigationsCache(): Promise<{ success: boolean; }>; }; getCommonService(): { getPluginStore(): Promise<{ get(params?: Partial<{ key: string; type?: string | undefined; environment?: string | undefined; name?: string | undefined; tag?: string | undefined; }> | undefined): Promise; set(params?: Partial<{ key: string; value: unknown; type?: string | undefined; environment?: string | undefined; name?: string | undefined; tag?: string | undefined; }> | undefined): Promise; delete(params?: Partial<{ key: string; type?: string | undefined; environment?: string | undefined; name?: string | undefined; tag?: string | undefined; }> | undefined): Promise; }>; mapToNavigationItemDTO({ locale, master, navigationItems, parent, populate, status, }: import("../services/common/types").MapToNavigationItemDTOInput): Promise; setDefaultConfig(): Promise<{ additionalFields: ("audience" | { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; })[]; allowedLevels: number; contentTypes: string[]; contentTypesNameFields: Record; contentTypesPopulate: Record; gql: { navigationItemRelated: string[]; }; pathDefaultFields: Record; cascadeMenuAttached: boolean; preferCustomContentTypes: boolean; defaultContentType?: string | undefined; isCacheEnabled?: boolean | undefined; }>; getBranchName({ item }: import("../services/common/types").GetBranchNameInput): void | import("../types").NavigationActionsCategories; analyzeBranch({ masterEntity, navigationItems, parentItem, prevAction, }: import("../services/common/types").AnalyzeBranchInput): Promise; removeBranch({ navigationItems, action, }: import("../services/common/types").RemoveBranchInput): Promise; createBranch({ action, masterEntity, navigationItems, parentItem, }: import("../services/common/types").CreateBranchInput): Promise; updateBranch({ masterEntity, navigationItems, action, parentItem, }: import("../services/common/types").UpdateBranchInput): Promise; emitEvent({ entity, event, uid }: import("../services/common/types").EmitEventInput): Promise; pruneCustomFields({ removedFields }: { removedFields: ({ type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; })[]; }): Promise; getSlug({ query }: import("../services/common/types").GetSlugInput): Promise; registerLifeCycleHook({ callback, contentTypeName, hookName }: import("../services/common/types").RegisterLifeCycleHookInput): void; runLifeCycleHook({ contentTypeName, event, hookName }: import("../services/common/types").RunLifeCycleHookInput): Promise; buildNestedStructure({ navigationItems, id, }: import("../services/common/types").BuildNestedStructureInput): import("../schemas").NavigationItemDBSchema[]; readLocale(): Promise<{ defaultLocale: string; restLocale: string[]; }>; updateConfigSchema: (modifier: (base: z.ZodObject<{ additionalFields: z.ZodArray, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodEnum<["boolean", "string"]>; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"media">; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"select">; multi: z.ZodBoolean; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }>]>]>, "many">; allowedLevels: z.ZodNumber; contentTypes: z.ZodArray; defaultContentType: z.ZodOptional; contentTypesNameFields: z.ZodRecord>; contentTypesPopulate: z.ZodRecord>; gql: z.ZodObject<{ navigationItemRelated: z.ZodArray; }, "strip", z.ZodTypeAny, { navigationItemRelated: string[]; }, { navigationItemRelated: string[]; }>; pathDefaultFields: z.ZodRecord; cascadeMenuAttached: z.ZodBoolean; preferCustomContentTypes: z.ZodBoolean; isCacheEnabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { additionalFields: ("audience" | { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; })[]; allowedLevels: number; contentTypes: string[]; contentTypesNameFields: Record; contentTypesPopulate: Record; gql: { navigationItemRelated: string[]; }; pathDefaultFields: Record; cascadeMenuAttached: boolean; preferCustomContentTypes: boolean; defaultContentType?: string | undefined; isCacheEnabled?: boolean | undefined; }, { additionalFields: ("audience" | { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; })[]; allowedLevels: number; contentTypes: string[]; contentTypesNameFields: Record; contentTypesPopulate: Record; gql: { navigationItemRelated: string[]; }; pathDefaultFields: Record; cascadeMenuAttached: boolean; preferCustomContentTypes: boolean; defaultContentType?: string | undefined; isCacheEnabled?: boolean | undefined; }>) => z.ZodObject<{ additionalFields: z.ZodArray, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodEnum<["boolean", "string"]>; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"media">; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"select">; multi: z.ZodBoolean; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }>]>]>, "many">; allowedLevels: z.ZodNumber; contentTypes: z.ZodArray; defaultContentType: z.ZodOptional; contentTypesNameFields: z.ZodRecord>; contentTypesPopulate: z.ZodRecord>; gql: z.ZodObject<{ navigationItemRelated: z.ZodArray; }, "strip", z.ZodTypeAny, { navigationItemRelated: string[]; }, { navigationItemRelated: string[]; }>; pathDefaultFields: z.ZodRecord; cascadeMenuAttached: z.ZodBoolean; preferCustomContentTypes: z.ZodBoolean; isCacheEnabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { additionalFields: ("audience" | { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; })[]; allowedLevels: number; contentTypes: string[]; contentTypesNameFields: Record; contentTypesPopulate: Record; gql: { navigationItemRelated: string[]; }; pathDefaultFields: Record; cascadeMenuAttached: boolean; preferCustomContentTypes: boolean; defaultContentType?: string | undefined; isCacheEnabled?: boolean | undefined; }, { additionalFields: ("audience" | { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; } | { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; })[]; allowedLevels: number; contentTypes: string[]; contentTypesNameFields: Record; contentTypesPopulate: Record; gql: { navigationItemRelated: string[]; }; pathDefaultFields: Record; cascadeMenuAttached: boolean; preferCustomContentTypes: boolean; defaultContentType?: string | undefined; isCacheEnabled?: boolean | undefined; }>) => void; updateCreateNavigationSchema: (modifier: (base: z.ZodObject, "many"> | z.ZodOptional, "many">>; }, "id" | "documentId" | "slug" | "locale" | "items"> & { documentId: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; visible: boolean; id?: undefined; documentId?: string | undefined; }, { name: string; visible: boolean; id?: undefined; documentId?: string | undefined; }>) => z.ZodObject, "many"> | z.ZodOptional, "many">>; }, "id" | "documentId" | "slug" | "locale" | "items"> & { documentId: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; visible: boolean; id?: undefined; documentId?: string | undefined; }, { name: string; visible: boolean; id?: undefined; documentId?: string | undefined; }>) => void; updateNavigationItemAdditionalField: (modifier: (base: z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodEnum<["boolean", "string"]>; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"media">; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"select">; multi: z.ZodBoolean; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }>]>]>) => z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodEnum<["boolean", "string"]>; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"media">; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"select">; multi: z.ZodBoolean; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }>]>]>) => void; updateNavigationItemCustomField: (modifier: (base: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodEnum<["boolean", "string"]>; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"media">; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"select">; multi: z.ZodBoolean; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }>]>) => z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodEnum<["boolean", "string"]>; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "string" | "boolean"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"media">; multi: z.ZodOptional>; options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }, { type: "media"; name: string; label: string; options?: string[] | undefined; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; multi?: false | undefined; }>, z.ZodObject<{ name: z.ZodEffects; label: z.ZodString; description: z.ZodOptional; placeholder: z.ZodOptional; required: z.ZodOptional; enabled: z.ZodOptional; } & { type: z.ZodLiteral<"select">; multi: z.ZodBoolean; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }, { options: string[]; type: "select"; name: string; label: string; multi: boolean; description?: string | undefined; placeholder?: string | undefined; required?: boolean | undefined; enabled?: boolean | undefined; }>]>) => void; updateUpdateNavigationSchema: (modifier: (base: z.ZodObject<{ name: z.ZodOptional; id: z.ZodNumber; documentId: z.ZodString; slug: z.ZodOptional; locale: z.ZodOptional; visible: z.ZodOptional; items: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: number; documentId: string; name?: string | undefined; slug?: string | undefined; locale?: string | undefined; visible?: boolean | undefined; items?: Omit[] | undefined; }, { id: number; documentId: string; name?: string | undefined; slug?: string | undefined; locale?: string | undefined; visible?: boolean | undefined; items?: Omit[] | undefined; }>) => z.ZodObject<{ name: z.ZodOptional; id: z.ZodNumber; documentId: z.ZodString; slug: z.ZodOptional; locale: z.ZodOptional; visible: z.ZodOptional; items: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: number; documentId: string; name?: string | undefined; slug?: string | undefined; locale?: string | undefined; visible?: boolean | undefined; items?: Omit[] | undefined; }, { id: number; documentId: string; name?: string | undefined; slug?: string | undefined; locale?: string | undefined; visible?: boolean | undefined; items?: Omit[] | undefined; }>) => void; }; get(): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }[]>; post(ctx: KoaContext & KoaContextExtension): Promise; put(ctx: KoaContext & KoaContextExtension): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; } | KoaContext>; delete(ctx: KoaContext): Promise<{}>; config(): Promise; updateConfig(ctx: KoaContext & KoaContextExtension): Promise<{}>; restoreConfig(): Promise<{}>; settingsConfig(): Promise; settingsRestart(): Promise<{}>; getById(ctx: KoaContext): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }>; getContentTypeItems(ctx: KoaContext): Promise<{ documentId: string; }[]>; fillFromOtherLocale(ctx: KoaContext): Promise<{ name: string; id: number; documentId: string; slug: string; locale: string; visible: boolean; items?: import("../schemas").NavigationItemDBSchema[] | undefined; }>; readNavigationItemFromLocale(ctx: KoaContext): Promise<{ type: "INTERNAL" | "EXTERNAL" | "WRAPPER"; title: string; uiRouterKey: string; path?: string | null | undefined; externalPath?: string | null | undefined; related?: unknown; }>; getSlug(ctx: KoaContext): Promise<{ slug: string; }>; settingsLocale(): Promise<{ defaultLocale: string; restLocale: string[]; }>; };