import { Buff, Bytes } from '@cmdcode/buff';
import { Literal, ProgramTerms } from '../index.js';
export declare function exception(error: string, throws?: boolean): false;
export declare function exists<T>(value?: T | null): value is NonNullable<T>;
export declare function get_entry<T = string[]>(label: string, entries: [string, T][]): T;
export declare function is_hex(value: unknown): value is string;
export declare function is_hash(value: unknown): value is string;
export declare function is_literal(value: unknown): value is Literal;
export declare function now(): number;
export declare function delay(ms?: number): Promise<unknown>;
export declare function regex(input: string, pattern: string): boolean;
export declare function get_access_list(expr: string, labels: string[]): {
    wlist: string[];
    blist: string[];
};
export declare function sort_bytes(bytes: Bytes[]): string[];
export declare function sort_record<T extends Record<string, any>>(obj: T): T;
export declare function stringify(content: any): string;
export declare function get_object_id<T extends object>(obj: T): Buff;
export declare function compare_arr(arr1: Literal[][], arr2: Literal[][]): boolean;
export declare function find_program_idx(progs: ProgramTerms[], terms: ProgramTerms): number | null;
