import { TlEntry } from '../types.js'; export interface WriterCodegenOptions { /** * Whether to use `flags` field from the input * @default false */ includeFlags?: boolean; /** * Name of the variable to use for the writers map * @default 'm' */ variableName?: string; /** * Whether to include prelude code (function `h`) */ includePrelude?: boolean; /** * Whether to include `_staticSize` field */ includeStaticSizes?: boolean; /** * Whether to generate bare writer (without constructor id write) */ bare?: boolean; } /** * Generate writer code for a single entry. * `h` (has) function from the prelude should be available * * @param entry Entry to generate writer for * @param params Options * @returns Code as a readers map entry */ export declare function generateWriterCodeForTlEntry(entry: TlEntry, params?: WriterCodegenOptions): string; /** * Generate writer code for a given TL schema. * * @param entries Entries to generate writers for * @param params Codegen options */ export declare function generateWriterCodeForTlEntries(entries: TlEntry[], params?: WriterCodegenOptions): string;