import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const QueryUpgradeCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly query: Schema.optional<Schema.Unknown>;
}>;
export type QueryUpgradeCreateInput = typeof QueryUpgradeCreateInput.Type;
export declare const QueryUpgradeCreateOutput: Schema.Struct<{
    readonly query: Schema.optional<Schema.Unknown>;
}>;
export type QueryUpgradeCreateOutput = typeof QueryUpgradeCreateOutput.Type;
/**
 * Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.
 *
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export declare const queryUpgradeCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly query?: unknown;
}, {
    readonly query?: unknown;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=queryUpgradeCreate.d.ts.map