import type * as Ast from "../../ast/ast"; import type { FunctionDescription, TypeRef } from "../../types/types"; import type { WriterContext } from "../Writer"; export declare function writeCastedExpression(expression: Ast.Expression, to: TypeRef, ctx: WriterContext): string; export declare function writeStatement(f: Ast.Statement, self: string | null, returns: TypeRef | null | string, ctx: WriterContext): void; export declare function writeFunction(f: FunctionDescription, ctx: WriterContext): void; export declare function writeGetter(f: FunctionDescription, wCtx: WriterContext): void;