export declare function limitLengthMetadata(metadata: Record, maxLength: number): Record;