import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const EndpointsPartialUpdateInput: Schema.Struct<{
    readonly name: Schema.String;
    readonly project_id: Schema.String;
    readonly query: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly cache_age_seconds: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly is_active: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly is_materialized: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly sync_frequency: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly derived_from_insight: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly bucket_overrides: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
    readonly deleted: Schema.optional<Schema.NullOr<Schema.Boolean>>;
}>;
export type EndpointsPartialUpdateInput = typeof EndpointsPartialUpdateInput.Type;
export declare const EndpointsPartialUpdateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly name: Schema.optional<Schema.String>;
    readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly query: Schema.optional<Schema.Unknown>;
    readonly is_active: Schema.optional<Schema.Boolean>;
    readonly cache_age_seconds: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly endpoint_path: Schema.optional<Schema.String>;
    readonly url: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly ui_url: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly updated_at: Schema.optional<Schema.String>;
    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 is_materialized: Schema.optional<Schema.Boolean>;
    readonly current_version: Schema.optional<Schema.Number>;
    readonly current_version_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly versions_count: Schema.optional<Schema.Number>;
    readonly derived_from_insight: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_executed_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly materialization: Schema.optional<Schema.Struct<{
        readonly name: Schema.optional<Schema.String>;
        readonly status: Schema.optional<Schema.String>;
        readonly can_materialize: Schema.optional<Schema.Boolean>;
        readonly reason: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly last_materialized_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly error: Schema.optional<Schema.String>;
        readonly sync_frequency: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly saved_query_id: Schema.optional<Schema.NullOr<Schema.String>>;
    }>>;
    readonly bucket_overrides: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
    readonly columns: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly name: Schema.optional<Schema.String>;
        readonly type: Schema.optional<Schema.String>;
    }>>>;
}>;
export type EndpointsPartialUpdateOutput = typeof EndpointsPartialUpdateOutput.Type;
/**
 * Update an existing endpoint.
 *
 * @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 endpointsPartialUpdate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly bucket_overrides?: {
        readonly [x: string]: unknown;
    } | null | undefined;
    readonly cache_age_seconds?: number | null | undefined;
    readonly deleted?: boolean | null | undefined;
    readonly derived_from_insight?: string | null | undefined;
    readonly description?: string | null | undefined;
    readonly is_active?: boolean | null | undefined;
    readonly is_materialized?: boolean | null | undefined;
    readonly name: string;
    readonly project_id: string;
    readonly query?: unknown;
    readonly sync_frequency?: string | null | undefined;
    readonly version?: number | null | undefined;
}, {
    readonly bucket_overrides?: {
        readonly [x: string]: unknown;
    } | null | undefined;
    readonly cache_age_seconds?: number | null | undefined;
    readonly columns?: readonly {
        readonly name?: string | undefined;
        readonly type?: string | undefined;
    }[] | 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 current_version?: number | undefined;
    readonly current_version_id?: string | null | undefined;
    readonly derived_from_insight?: string | null | undefined;
    readonly description?: string | null | undefined;
    readonly endpoint_path?: string | undefined;
    readonly id?: string | undefined;
    readonly is_active?: boolean | undefined;
    readonly is_materialized?: boolean | undefined;
    readonly last_executed_at?: string | null | undefined;
    readonly materialization?: {
        readonly can_materialize?: boolean | undefined;
        readonly error?: string | undefined;
        readonly last_materialized_at?: string | null | undefined;
        readonly name?: string | undefined;
        readonly reason?: string | null | undefined;
        readonly saved_query_id?: string | null | undefined;
        readonly status?: string | undefined;
        readonly sync_frequency?: string | null | undefined;
    } | undefined;
    readonly name?: string | undefined;
    readonly query?: unknown;
    readonly ui_url?: string | null | undefined;
    readonly updated_at?: string | undefined;
    readonly url?: string | null | undefined;
    readonly versions_count?: number | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=endpointsPartialUpdate.d.ts.map