export declare const MEMORY_BODY_MAX_CHARS = 4096;
export declare const MEMORY_RATIONALE_MAX_CHARS = 1024;
export declare const MEMORY_REASON_MAX_CHARS = 1024;
export declare const MEMORY_TAG_MAX_CHARS = 64;
export declare const MEMORY_TAGS_MAX_COUNT = 32;
export declare const MEMORY_SUMMARY_MAX_CHARS = 512;
export declare const FORBIDDEN_CONTROL_RE: RegExp;
export declare function isRecord(value: unknown): value is Record<string, unknown>;
export declare function isNonEmptyTrimmedString(value: unknown): value is string;
export declare function isFiniteNonNegativeNumber(value: unknown): value is number;
export declare function isFinitePositiveInteger(value: unknown): value is number;
export declare function isUnitInterval(value: unknown): value is number;
export declare function isStringArray(value: unknown): value is readonly string[];
export declare function isMember<T extends string>(value: unknown, allowed: readonly T[]): value is T;
export declare function isSafeText(value: unknown, maxChars: number): value is string;
export declare function validateTags(field: string, input: unknown, errors: string[]): void;
export declare function validateRetentionHint(field: string, input: unknown, errors: string[]): void;
export declare function validateOptionalReference(field: string, value: unknown, errors: string[]): void;
export interface NestedValidation {
    readonly ok: boolean;
    readonly errors?: readonly string[];
}
export declare function pushNestedErrors(prefix: string, result: NestedValidation, errors: string[]): void;
export declare function validateMemoryIdString(field: string, value: unknown, errors: string[]): void;
export declare function validateSchemaVersionLiteral(input: Record<string, unknown>, errors: string[]): void;
//# sourceMappingURL=memory-internal.d.ts.map