import { FieldOrSliceType } from "../../model/widget.js"; import { z } from "zod/mini"; //#region src/content/codec/legacyContentCtx.d.ts interface LegacyContentCtxParams { fieldKey: string; contentKey?: string; fieldPath?: Array; contentPath?: Array; allTypes?: Map; allKeys?: Map; } declare class LegacyContentCtx { fieldKey: string; prefixedKey: string; keyOfType: string; keyOfKey: string; fieldPath: Array; fieldType?: FieldOrSliceType | undefined; allTypes: Map; allKeys: Map; contentKey: string; contentPath: Array; fieldContentKey: string; constructor({ fieldKey, contentKey, contentPath, fieldPath, allTypes, allKeys }: LegacyContentCtxParams); withContentKey(contentKey: string): LegacyContentCtx; } interface GetFieldCtxParams { fieldKey: string; contentKey?: string; ctx: LegacyContentCtx; prefixes?: Array; } declare function getFieldCtx({ fieldKey, contentKey: contentKeyParam, ctx, prefixes }: GetFieldCtxParams): LegacyContentCtx; declare function defaultCtx(key: string, allTypes?: Map, allKeys?: Map): LegacyContentCtx; //#endregion export { LegacyContentCtx, defaultCtx, getFieldCtx }; //# sourceMappingURL=legacyContentCtx.d.ts.map