import { type Ref } from 'vue'; import { codePointLength } from '@feedmepos/zod-inventory'; /** * Portal-facing aliases of FM-186's durable ceilings. The values remain owned * by zod-inventory so UI validation cannot drift from the HTTP/entity boundary. */ export declare const PRODUCTION_RUN_NAME_LIMIT = 100; export declare const PRODUCTION_INSTRUCTIONS_LIMIT = 2000; export declare const PRODUCTION_REMARK_LIMIT = 500; export { codePointLength }; /** * Production-specific counter/error state for one authored text field, held * to a code-point ceiling. Deliberately does not truncate — a form must never * cut off paste or IME composition input, only report that the box is over * and block submission until it is fixed. */ export declare function useProductionRunTextLimit(value: Ref, max: number): { length: import("vue").ComputedRef; exceeded: import("vue").ComputedRef; helperText: import("vue").ComputedRef; helperState: import("vue").ComputedRef<"error" | "none">; };