import type { Expr, RequestExpr } from '@getlang/ast'; export declare const render: (template: Expr) => string | null; export declare function getContentField(req: RequestExpr): "json" | "html" | "js"; declare function token(text: string, value?: string): { text: string; value: string; lineBreaks: number; offset: number; line: number; col: number; }; declare function ident(id: string): { kind: "IdentifierExpr"; id: import("@getlang/ast").Token; isUrlComponent: boolean; typeInfo: import("@getlang/ast").TypeInfo; }; declare function template(contents: string): import("@getlang/ast").TemplateExpr; declare function select(selector: string): { kind: "SelectorExpr"; selector: Expr; expand: boolean; typeInfo: import("@getlang/ast").TypeInfo; }; export declare const tx: { token: typeof token; ident: typeof ident; template: typeof template; select: typeof select; }; export {};