import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const AttioParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"list_records">;
    object: z.ZodString;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
        attribute: z.ZodString;
        direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    }, "strip", z.ZodTypeAny, {
        direction: "asc" | "desc";
        attribute: string;
    }, {
        attribute: string;
        direction?: "asc" | "desc" | undefined;
    }>, "many">>;
    filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    object: string;
    operation: "list_records";
    limit: number;
    offset: number;
    filter?: Record<string, unknown> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    sorts?: {
        direction: "asc" | "desc";
        attribute: string;
    }[] | undefined;
}, {
    object: string;
    operation: "list_records";
    filter?: Record<string, unknown> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    sorts?: {
        attribute: string;
        direction?: "asc" | "desc" | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_record">;
    object: z.ZodString;
    record_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    object: string;
    operation: "get_record";
    record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    object: string;
    operation: "get_record";
    record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_record">;
    object: z.ZodString;
    values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    matching_attribute: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    object: string;
    values: Record<string, unknown>;
    operation: "create_record";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    matching_attribute?: string | undefined;
}, {
    object: string;
    values: Record<string, unknown>;
    operation: "create_record";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    matching_attribute?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_record">;
    object: z.ZodString;
    record_id: z.ZodString;
    values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    object: string;
    values: Record<string, unknown>;
    operation: "update_record";
    record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    object: string;
    values: Record<string, unknown>;
    operation: "update_record";
    record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_record">;
    object: z.ZodString;
    record_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    object: string;
    operation: "delete_record";
    record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    object: string;
    operation: "delete_record";
    record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_note">;
    parent_object: z.ZodString;
    parent_record_id: z.ZodString;
    title: z.ZodString;
    content: z.ZodString;
    format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["plaintext"]>>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    format: "plaintext";
    title: string;
    content: string;
    operation: "create_note";
    parent_object: string;
    parent_record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    title: string;
    content: string;
    operation: "create_note";
    parent_object: string;
    parent_record_id: string;
    format?: "plaintext" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_notes">;
    parent_object: z.ZodOptional<z.ZodString>;
    parent_record_id: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_notes";
    limit: number;
    offset: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    parent_object?: string | undefined;
    parent_record_id?: string | undefined;
}, {
    operation: "list_notes";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    parent_object?: string | undefined;
    parent_record_id?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_task">;
    content: z.ZodString;
    deadline_at: z.ZodOptional<z.ZodString>;
    is_completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    linked_records: z.ZodOptional<z.ZodArray<z.ZodObject<{
        target_object: z.ZodString;
        target_record_id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        target_object: string;
        target_record_id: string;
    }, {
        target_object: string;
        target_record_id: string;
    }>, "many">>;
    assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
        referenced_actor_type: z.ZodEnum<["workspace-member"]>;
        referenced_actor_id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        referenced_actor_type: "workspace-member";
        referenced_actor_id: string;
    }, {
        referenced_actor_type: "workspace-member";
        referenced_actor_id: string;
    }>, "many">>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    content: string;
    operation: "create_task";
    is_completed: boolean;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    assignees?: {
        referenced_actor_type: "workspace-member";
        referenced_actor_id: string;
    }[] | undefined;
    deadline_at?: string | undefined;
    linked_records?: {
        target_object: string;
        target_record_id: string;
    }[] | undefined;
}, {
    content: string;
    operation: "create_task";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    assignees?: {
        referenced_actor_type: "workspace-member";
        referenced_actor_id: string;
    }[] | undefined;
    deadline_at?: string | undefined;
    is_completed?: boolean | undefined;
    linked_records?: {
        target_object: string;
        target_record_id: string;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_tasks">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_tasks";
    limit: number;
    offset: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_tasks";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_task">;
    task_id: z.ZodString;
    content: z.ZodOptional<z.ZodString>;
    deadline_at: z.ZodOptional<z.ZodString>;
    is_completed: z.ZodOptional<z.ZodBoolean>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "update_task";
    task_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    content?: string | undefined;
    deadline_at?: string | undefined;
    is_completed?: boolean | undefined;
}, {
    operation: "update_task";
    task_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    content?: string | undefined;
    deadline_at?: string | undefined;
    is_completed?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_task">;
    task_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "delete_task";
    task_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "delete_task";
    task_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_lists">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_lists";
    limit: number;
    offset: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_lists";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_entry">;
    list: z.ZodString;
    parent_object: z.ZodString;
    parent_record_id: z.ZodString;
    entry_values: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    list: string;
    operation: "create_entry";
    parent_object: string;
    parent_record_id: string;
    entry_values: Record<string, unknown>;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    list: string;
    operation: "create_entry";
    parent_object: string;
    parent_record_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    entry_values?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_entries">;
    list: z.ZodString;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    list: string;
    operation: "list_entries";
    limit: number;
    offset: number;
    filter?: Record<string, unknown> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    list: string;
    operation: "list_entries";
    filter?: Record<string, unknown> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
}>]>;
export declare const AttioResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"list_records">;
    records: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    next_page_offset: z.ZodOptional<z.ZodNumber>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_records";
    records?: Record<string, unknown>[] | undefined;
    next_page_offset?: number | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_records";
    records?: Record<string, unknown>[] | undefined;
    next_page_offset?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_record">;
    record: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_record";
    record?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_record";
    record?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_record">;
    record: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_record";
    record?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_record";
    record?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_record">;
    record: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "update_record";
    record?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "update_record";
    record?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_record">;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "delete_record";
}, {
    error: string;
    success: boolean;
    operation: "delete_record";
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_note">;
    note: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_note";
    note?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_note";
    note?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_notes">;
    notes: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_notes";
    notes?: Record<string, unknown>[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_notes";
    notes?: Record<string, unknown>[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_task">;
    task: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_task";
    task?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_task";
    task?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_tasks">;
    tasks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_tasks";
    tasks?: Record<string, unknown>[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_tasks";
    tasks?: Record<string, unknown>[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_task">;
    task: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "update_task";
    task?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "update_task";
    task?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_task">;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "delete_task";
}, {
    error: string;
    success: boolean;
    operation: "delete_task";
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_lists">;
    lists: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_lists";
    lists?: Record<string, unknown>[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_lists";
    lists?: Record<string, unknown>[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_entry">;
    entry: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_entry";
    entry?: Record<string, unknown> | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_entry";
    entry?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_entries">;
    entries: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    next_page_offset: z.ZodOptional<z.ZodNumber>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_entries";
    entries?: Record<string, unknown>[] | undefined;
    next_page_offset?: number | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_entries";
    entries?: Record<string, unknown>[] | undefined;
    next_page_offset?: number | undefined;
}>]>;
export type AttioParamsInput = z.input<typeof AttioParamsSchema>;
export type AttioParams = z.output<typeof AttioParamsSchema>;
export type AttioResult = z.output<typeof AttioResultSchema>;
//# sourceMappingURL=attio.schema.d.ts.map