/* tslint:disable */ /* eslint-disable */ /** * @param {string} prql_query * @param {CompileOptions | undefined} [options] * @returns {string | undefined} */ export function compile(prql_query: string, options?: CompileOptions): string | undefined; /** * @param {string} prql_query * @returns {string | undefined} */ export function prql_to_pl(prql_query: string): string | undefined; /** * @param {string} pl_json * @returns {string | undefined} */ export function pl_to_prql(pl_json: string): string | undefined; /** * @param {string} pl_json * @returns {string | undefined} */ export function pl_to_rq(pl_json: string): string | undefined; /** * @param {string} rq_json * @returns {string | undefined} */ export function rq_to_sql(rq_json: string): string | undefined; /** * @returns {any[]} */ export function get_targets(): any[]; /** * Compilation options for SQL backend of the compiler. */ export class CompileOptions { free(): void; /** */ constructor(); /** * Pass generated SQL string trough a formatter that splits it * into multiple lines and prettifies indentation and spacing. * * Defaults to true. */ format: boolean; /** * Emits the compiler signature as a comment after generated SQL * * Defaults to true. */ signature_comment: boolean; /** * Target to compile to (e.g. sql.postgres) * * Defaults to `sql.any`, which uses `target` argument from the query header to determine * the SQL dialect. */ target: string; }