import type { InferSlotVars } from "@tai-kun/surrealdb/standard-client"; import type { PreparedQueryLike, SlotLike } from "@tai-kun/surrealdb/types"; import type { Simplify } from "type-fest"; import { type InlineQueryOptions } from "./query"; type Override = Simplify & U>; export type CreateInlineQueryOptions = Omit & { readonly timeout?: number | undefined; readonly bindings?: { readonly [p: string]: unknown; }; }; /** * @experimental */ export default function createQuery(endpoint: string | URL, options?: CreateInlineQueryOptions | undefined): { (surql: string, vars?: { readonly [p: string]: unknown; } | undefined, options?: InlineQueryOptions | undefined): Promise; (surql: Override)[]; readonly __type: T; }>, vars?: { readonly [p: string]: unknown; } | undefined, options?: InlineQueryOptions | undefined): Promise; (surql: Override, vars: Simplify & { readonly [p: string]: unknown; }>, options?: InlineQueryOptions | undefined): Promise; }; export {}; //# sourceMappingURL=create-query.d.ts.map