import { z } from "zod/v4";
export declare const TenantRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    name: z.ZodString;
}, z.core.$strip>;
export declare const UserRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    email: z.ZodString;
    role: z.ZodEnum<{
        admin: "admin";
        operator: "operator";
        viewer: "viewer";
    }>;
}, z.core.$strip>;
export declare const ProxyRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    label: z.ZodString;
    protocol: z.ZodEnum<{
        socks5: "socks5";
        socks4: "socks4";
        http: "http";
        https: "https";
    }>;
    host: z.ZodString;
    port: z.ZodNumber;
    username: z.ZodString;
    password: z.ZodString;
    timezone: z.ZodString;
    note: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const LlmProfileRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    name: z.ZodString;
    protocol: z.ZodEnum<{
        openai: "openai";
        claude: "claude";
    }>;
    base_url: z.ZodString;
    api_key: z.ZodString;
    model: z.ZodString;
    image_model: z.ZodOptional<z.ZodString>;
    image_api_key: z.ZodOptional<z.ZodString>;
    image_size: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const DirectorRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    name: z.ZodString;
    api_key: z.ZodString;
    host_label: z.ZodString;
    max_concurrent_tasks: z.ZodDefault<z.ZodNumber>;
    last_heartbeat_at: z.ZodOptional<z.ZodString>;
    version: z.ZodOptional<z.ZodString>;
    dp_worker_version: z.ZodOptional<z.ZodString>;
    dp_worker_latest_version: z.ZodOptional<z.ZodString>;
    dp_worker_runtime_mode: z.ZodOptional<z.ZodEnum<{
        npm: "npm";
        "dev-dist": "dev-dist";
    }>>;
    dp_worker_upgrade_status: z.ZodOptional<z.ZodEnum<{
        idle: "idle";
        checking: "checking";
        installing: "installing";
        building: "building";
        restarting: "restarting";
        success: "success";
        skipped: "skipped";
        failed: "failed";
    }>>;
    dp_worker_upgrade_message: z.ZodOptional<z.ZodString>;
    dp_worker_upgrade_started_at: z.ZodOptional<z.ZodString>;
    dp_worker_upgrade_finished_at: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const WorkerRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    name: z.ZodString;
    director_id: z.ZodOptional<z.ZodString>;
    api_key: z.ZodString;
    llm_profile_id: z.ZodString;
    proxy_id: z.ZodOptional<z.ZodString>;
    headless: z.ZodDefault<z.ZodBoolean>;
    browser_automation_mode: z.ZodDefault<z.ZodEnum<{
        chrome: "chrome";
        cloakbrowser: "cloakbrowser";
    }>>;
    identity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    process_status: z.ZodEnum<{
        running: "running";
        stopped: "stopped";
        crashed: "crashed";
        unknown: "unknown";
    }>;
    process_observed_at: z.ZodOptional<z.ZodString>;
    runtime_status: z.ZodEnum<{
        error: "error";
        unknown: "unknown";
        idle: "idle";
        busy: "busy";
    }>;
    runtime_observed_at: z.ZodOptional<z.ZodString>;
    last_heartbeat_at: z.ZodOptional<z.ZodString>;
    current_task_id: z.ZodOptional<z.ZodString>;
    config_etag: z.ZodString;
    session_content_hash: z.ZodOptional<z.ZodString>;
    telegram_bot_token: z.ZodOptional<z.ZodString>;
    telegram_allowed_users: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
}, z.core.$strip>;
export declare const SocialAccountRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    identity_id: z.ZodString;
    platform: z.ZodEnum<{
        x: "x";
        youtube: "youtube";
        reddit: "reddit";
        instagram: "instagram";
        tiktok: "tiktok";
    }>;
    profile_name: z.ZodDefault<z.ZodString>;
    login_type: z.ZodDefault<z.ZodEnum<{
        password: "password";
        oauth: "oauth";
    }>>;
    username: z.ZodNullable<z.ZodString>;
    email: z.ZodNullable<z.ZodString>;
    password: z.ZodNullable<z.ZodString>;
    persona_text: z.ZodNullable<z.ZodString>;
    persona_other_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    enabled: z.ZodDefault<z.ZodBoolean>;
}, z.core.$strip>;
export declare const WorkerGroupRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const WorkerGroupMemberRow: z.ZodObject<{
    group_id: z.ZodString;
    worker_id: z.ZodString;
    added_at: z.ZodString;
}, z.core.$strip>;
export declare const ChromeSessionRow: z.ZodObject<{
    id: z.ZodString;
    identity_id: z.ZodString;
    r2_object_key: z.ZodString;
    content_hash: z.ZodString;
    size_bytes: z.ZodNumber;
    uploaded_by: z.ZodString;
    uploaded_at: z.ZodString;
    note: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const ScheduledTaskRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    worker_id: z.ZodString;
    name: z.ZodString;
    cron: z.ZodString;
    timezone: z.ZodOptional<z.ZodString>;
    prompt: z.ZodString;
    random_delay_seconds: z.ZodDefault<z.ZodNumber>;
    enabled: z.ZodBoolean;
    last_run_at: z.ZodOptional<z.ZodString>;
    last_status: z.ZodOptional<z.ZodEnum<{
        error: "error";
        ok: "ok";
    }>>;
    run_count: z.ZodDefault<z.ZodNumber>;
    success_count: z.ZodDefault<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const TaskRunRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    worker_id: z.ZodString;
    scheduled_task_id: z.ZodOptional<z.ZodString>;
    source: z.ZodEnum<{
        scheduled: "scheduled";
        ad_hoc: "ad_hoc";
        chat_replay: "chat_replay";
    }>;
    prompt: z.ZodString;
    target_descriptor_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    status: z.ZodEnum<{
        running: "running";
        success: "success";
        failed: "failed";
        queued: "queued";
        dispatched: "dispatched";
        cancelled: "cancelled";
        timeout: "timeout";
    }>;
    dispatched_at: z.ZodOptional<z.ZodString>;
    started_at: z.ZodOptional<z.ZodString>;
    finished_at: z.ZodOptional<z.ZodString>;
    result_summary: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
    randomized_delay_ms: z.ZodDefault<z.ZodNumber>;
    scheduled_fire_at: z.ZodOptional<z.ZodString>;
    created_by: z.ZodOptional<z.ZodString>;
    parent_adhoc_task_id: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const AdhocTaskBatchRow: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    prompt: z.ZodString;
    target_descriptor_json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    random_delay_seconds: z.ZodDefault<z.ZodNumber>;
    dispatch_window_seconds: z.ZodDefault<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    created_at: z.ZodString;
    summary_stats_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, z.core.$strip>;
export declare const TaskDispatchQueueRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    worker_id: z.ZodString;
    task_run_id: z.ZodString;
    eta: z.ZodString;
    priority: z.ZodDefault<z.ZodNumber>;
    attempts: z.ZodDefault<z.ZodNumber>;
}, z.core.$strip>;
export declare const ChatRow: z.ZodObject<{
    created_at: z.ZodString;
    updated_at: z.ZodString;
    id: z.ZodString;
    scope_type: z.ZodEnum<{
        worker: "worker";
        group: "group";
    }>;
    scope_id: z.ZodString;
    last_message_at: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const ChatMessageRow: z.ZodObject<{
    id: z.ZodString;
    chat_id: z.ZodString;
    role: z.ZodString;
    content_json: z.ZodUnknown;
    attachment_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
    task_run_id: z.ZodOptional<z.ZodString>;
    sender_user_id: z.ZodOptional<z.ZodString>;
    created_at: z.ZodString;
}, z.core.$strip>;
export declare const AttachmentRow: z.ZodObject<{
    id: z.ZodString;
    chat_id: z.ZodOptional<z.ZodString>;
    r2_object_key: z.ZodString;
    filename: z.ZodString;
    mime: z.ZodOptional<z.ZodString>;
    size: z.ZodNumber;
    uploaded_by: z.ZodString;
    created_at: z.ZodString;
}, z.core.$strip>;
export declare const AuditLogRow: z.ZodObject<{
    id: z.ZodString;
    actor_user_id: z.ZodOptional<z.ZodString>;
    actor_machine_id: z.ZodOptional<z.ZodString>;
    action: z.ZodString;
    target_type: z.ZodString;
    target_id: z.ZodString;
    payload_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    created_at: z.ZodString;
}, z.core.$strip>;
export type TenantRow = z.infer<typeof TenantRow>;
export type UserRow = z.infer<typeof UserRow>;
export type ProxyRow = z.infer<typeof ProxyRow>;
export type LlmProfileRow = z.infer<typeof LlmProfileRow>;
export type DirectorRow = z.infer<typeof DirectorRow>;
export type WorkerRow = z.infer<typeof WorkerRow>;
export type SocialAccountRow = z.infer<typeof SocialAccountRow>;
export type WorkerGroupRow = z.infer<typeof WorkerGroupRow>;
export type WorkerGroupMemberRow = z.infer<typeof WorkerGroupMemberRow>;
export type ChromeSessionRow = z.infer<typeof ChromeSessionRow>;
export type ScheduledTaskRow = z.infer<typeof ScheduledTaskRow>;
export type TaskRunRow = z.infer<typeof TaskRunRow>;
export type AdhocTaskBatchRow = z.infer<typeof AdhocTaskBatchRow>;
export type TaskDispatchQueueRow = z.infer<typeof TaskDispatchQueueRow>;
export type ChatRow = z.infer<typeof ChatRow>;
export type ChatMessageRow = z.infer<typeof ChatMessageRow>;
export type AttachmentRow = z.infer<typeof AttachmentRow>;
export type AuditLogRow = z.infer<typeof AuditLogRow>;
//# sourceMappingURL=db-rows.d.ts.map