import { LangCode } from '@based/schema';
export declare const COMPRESSED = 1;
export declare const NOT_COMPRESSED = 0;
export declare const write: (buf: Uint8Array, value: string, offset: number, noCompression: boolean, lang?: LangCode) => number;
export declare const compress: (str: string) => Uint8Array;
export declare const decompress: (val: Uint8Array) => string;
export declare const read: (val: Uint8Array, offset: number, len: number, stripCrc32: boolean) => string;
export declare const readUtf8: (val: Uint8Array, offset: number, len: number) => string;
