import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const WarehouseSavedQueriesUpdateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly deleted: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly name: Schema.optional<Schema.String>;
    readonly query: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly uuid: Schema.optional<Schema.String>;
        readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name: Schema.optional<Schema.String>;
        readonly last_name: Schema.optional<Schema.String>;
        readonly email: Schema.optional<Schema.String>;
        readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly role_at_organization: Schema.optional<Schema.Unknown>;
    }>>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly sync_frequency: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly columns: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
    readonly status: Schema.optional<Schema.Unknown>;
    readonly last_run_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly managed_viewset_kind: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly folder_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly folder_name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly latest_error: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly edited_history_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly latest_history_id: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly soft_update: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly dag_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly is_materialized: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly origin: Schema.optional<Schema.Unknown>;
    readonly is_test: Schema.optional<Schema.Boolean>;
    readonly expires_at: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type WarehouseSavedQueriesUpdateInput = typeof WarehouseSavedQueriesUpdateInput.Type;
export declare const WarehouseSavedQueriesUpdateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly deleted: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly name: Schema.optional<Schema.String>;
    readonly query: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly uuid: Schema.optional<Schema.String>;
        readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name: Schema.optional<Schema.String>;
        readonly last_name: Schema.optional<Schema.String>;
        readonly email: Schema.optional<Schema.String>;
        readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly role_at_organization: Schema.optional<Schema.Unknown>;
    }>>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly sync_frequency: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly columns: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
    readonly status: Schema.optional<Schema.Unknown>;
    readonly last_run_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly managed_viewset_kind: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly folder_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly folder_name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly latest_error: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly edited_history_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly latest_history_id: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly soft_update: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly dag_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly is_materialized: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly origin: Schema.optional<Schema.Unknown>;
    readonly is_test: Schema.optional<Schema.Boolean>;
    readonly expires_at: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type WarehouseSavedQueriesUpdateOutput = typeof WarehouseSavedQueriesUpdateOutput.Type;
/**
 * Create, Read, Update and Delete Warehouse Tables.
 *
 * @param id - A UUID string identifying this data warehouse saved query.
 * @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 warehouseSavedQueriesUpdate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly columns?: readonly {
        readonly [x: string]: unknown;
    }[] | undefined;
    readonly created_at?: string | undefined;
    readonly created_by?: {
        readonly distinct_id?: string | null | undefined;
        readonly email?: string | undefined;
        readonly first_name?: string | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly id?: number | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly last_name?: string | undefined;
        readonly role_at_organization?: unknown;
        readonly uuid?: string | undefined;
    } | null | undefined;
    readonly dag_id?: string | null | undefined;
    readonly deleted?: boolean | null | undefined;
    readonly edited_history_id?: string | null | undefined;
    readonly expires_at?: string | null | undefined;
    readonly folder_id?: string | null | undefined;
    readonly folder_name?: string | null | undefined;
    readonly id: string;
    readonly is_materialized?: boolean | null | undefined;
    readonly is_test?: boolean | undefined;
    readonly last_run_at?: string | null | undefined;
    readonly latest_error?: string | null | undefined;
    readonly latest_history_id?: number | null | undefined;
    readonly managed_viewset_kind?: string | null | undefined;
    readonly name?: string | undefined;
    readonly origin?: unknown;
    readonly project_id: string;
    readonly query?: unknown;
    readonly soft_update?: boolean | null | undefined;
    readonly status?: unknown;
    readonly sync_frequency?: string | null | undefined;
}, {
    readonly columns?: readonly {
        readonly [x: string]: unknown;
    }[] | undefined;
    readonly created_at?: string | undefined;
    readonly created_by?: {
        readonly distinct_id?: string | null | undefined;
        readonly email?: string | undefined;
        readonly first_name?: string | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly id?: number | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly last_name?: string | undefined;
        readonly role_at_organization?: unknown;
        readonly uuid?: string | undefined;
    } | null | undefined;
    readonly dag_id?: string | null | undefined;
    readonly deleted?: boolean | null | undefined;
    readonly edited_history_id?: string | null | undefined;
    readonly expires_at?: string | null | undefined;
    readonly folder_id?: string | null | undefined;
    readonly folder_name?: string | null | undefined;
    readonly id?: string | undefined;
    readonly is_materialized?: boolean | null | undefined;
    readonly is_test?: boolean | undefined;
    readonly last_run_at?: string | null | undefined;
    readonly latest_error?: string | null | undefined;
    readonly latest_history_id?: number | null | undefined;
    readonly managed_viewset_kind?: string | null | undefined;
    readonly name?: string | undefined;
    readonly origin?: unknown;
    readonly query?: unknown;
    readonly soft_update?: boolean | null | undefined;
    readonly status?: unknown;
    readonly sync_frequency?: string | null | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=warehouseSavedQueriesUpdate.d.ts.map