import { z } from 'zod'; export declare function jsonStringToArray(schema: T): z.ZodEffects; export declare function jsonStringToObject(schema: T): z.ZodEffects; export declare function coerceBoolean(schema: T): z.ZodEffects; export declare function coerceNumber(schema: T): z.ZodEffects; export declare function unwrapSingleElementArrays(record: Record | undefined | null): Record | undefined | null; export declare const CPLACEJS_COMMON_API_CHEAT_SHEET = "\n\nCommon cplaceJS APIs (avoid these known pitfalls):\n- Iterate pages: `cplace.each(pages, function(page) { ... })` \u2014 do NOT use `cplace.utils().iterator()` (does not exist)\n- First match: `Iterables.getFirst(pages, null)` \u2014 do NOT use `search.findFirstPage()` (does not exist)\n- Update from change listener: `cplace.actions().updatePage(changeEvent.getEntity(), {...})` \u2014 `changeEvent` is bound only in change-listener scripts; elsewhere pass the page you fetched. Do NOT use `page.registerAttributeForUpdate()` (does not exist)\n- Return values must be primitives or plain maps \u2014 do NOT return Java `ArrayList` or results of `cplace.map()` directly; they fail serialization"; export declare const SCRIPT_PAYLOAD_ID_NOTE = " `payloadId` is the `-p` argument for `cplace-lowcode-cli get -f -p `, which pulls this script's source into a local repo. It is returned for job scripts, page actions and change listeners. Validators, enum providers, workflow scripts and widget-configuration scripts do not carry a `payloadId` \u2014 their responses do not include the script entity's id."; export declare const DATE_TIME_FORMAT_DESCRIPTION = "Date/time values use consistent formats across all operations:\n\nSUPPORTED FORMATS:\n1. Date-only: \"YYYY-MM-DD\" (e.g., \"2024-01-15\")\n - Represents the start of day in the server timezone\n - Use for date-based operations where time precision doesn't matter\n - Recommended format when exact time is not critical\n\n2. Datetime: \"YYYY-MM-DDTHH:mm:ss\" (e.g., \"2024-01-15T14:00:00\")\n - No timezone suffix (interpreted as server local time)\n - Use for time-sensitive operations requiring precision\n - Server timezone is assumed to be UTC"; export declare const DATE_FILTER_FORMAT_DESCRIPTION = "Date filter values MUST use date-only format: YYYY-MM-DD\n\nIMPORTANT: Date filters enforce strict date-only precision for predictable query behavior.\nDatetime formats with time components are NOT supported."; //# sourceMappingURL=common-schemas.d.ts.map