import { TlBase, TlType, TlCombinator } from './tl_core';
export declare class TlConfig extends TlBase {
    types: TlType[];
    id_to_type: {
        [id: number]: TlType;
    };
    name_to_type: {
        [name: string]: TlType;
    };
    functions: TlCombinator[];
    id_to_function: {
        [id: number]: TlCombinator;
    };
    name_to_function: {
        [name: string]: TlCombinator;
    };
    constructor();
    add_type: (type: TlType) => void;
    get_type: (type_id_or_name: number | string) => TlType;
    add_function: (func: TlCombinator) => void;
    get_function: (function_id_or_name: number | string) => TlCombinator;
    get_type_count: () => number;
    get_type_by_num: (num: number) => TlType;
    get_function_count: () => number;
    get_function_by_num: (num: number) => TlCombinator;
}
