import { CQN, CSN } from "cds-internal-tool"; import { QueryObject } from "cds-internal-tool/lib/types/ql"; type BuildResult = { sql: string; values: Array; }; /** * Factory method to build a SQL string from a CQN object. * * @param cqn The CQN object used to build the SQL string * @param options The configuration object for delimiters and placeholders. * @param csn CSN * @returns * @throws Error if no valid CQN object provided */ declare function build(cqn: CQN | QueryObject, csn?: CSN): BuildResult; declare function build(cqn: CQN | QueryObject, options?: any, csn?: CSN): BuildResult; export { build as sqlFactory };