import { VariableType } from "../../types.js"; import type { ObjectType } from "../../types.js"; /** Render a `raises` clause back to Agency source: `<*>` for the `any` * primitive, otherwise delegate to variableTypeToString, which renders an * effect-set union as `<...>` and a type-alias reference by name. Single * source of truth for rendering a raises clause (AgencyGenerator delegates * here). */ export declare function effectSetToSource(type: VariableType, typeAliases: Record, hooks?: TypePrintHooks): string; export type TypePrintHooks = { objectType?: (objectType: ObjectType, printChild: (child: VariableType) => string) => string | undefined; }; export declare function variableTypeToString(variableType: VariableType, typeAliases: Record, forFormatting?: boolean, hooks?: TypePrintHooks): string;