import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const PersonsUpdateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly format: Schema.optional<Schema.Literals<readonly ["csv", "json"]>>;
    readonly name: Schema.optional<Schema.String>;
    readonly distinct_ids: Schema.optional<Schema.$Array<Schema.String>>;
    readonly properties: Schema.optional<Schema.Unknown>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly uuid: Schema.optional<Schema.String>;
    readonly last_seen_at: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type PersonsUpdateInput = typeof PersonsUpdateInput.Type;
export declare const PersonsUpdateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly distinct_ids: Schema.optional<Schema.$Array<Schema.String>>;
    readonly properties: Schema.optional<Schema.Unknown>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly uuid: Schema.optional<Schema.String>;
    readonly last_seen_at: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type PersonsUpdateOutput = typeof PersonsUpdateOutput.Type;
/**
 * Only for setting properties on the person. "properties" from the request data will be updated via a "$set" event.
 * This means that only the properties listed will be updated, but other properties won't be removed nor updated.
 * If you would like to remove a property use the `delete_property` endpoint.
 *
 * @param id - A unique value identifying this person. Accepts both numeric ID and UUID.
 * @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 personsUpdate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly created_at?: string | undefined;
    readonly distinct_ids?: readonly string[] | undefined;
    readonly format?: "csv" | "json" | undefined;
    readonly id: string;
    readonly last_seen_at?: string | null | undefined;
    readonly name?: string | undefined;
    readonly project_id: string;
    readonly properties?: unknown;
    readonly uuid?: string | undefined;
}, {
    readonly created_at?: string | undefined;
    readonly distinct_ids?: readonly string[] | undefined;
    readonly id?: number | undefined;
    readonly last_seen_at?: string | null | undefined;
    readonly name?: string | undefined;
    readonly properties?: unknown;
    readonly uuid?: string | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=personsUpdate.d.ts.map