import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
/**
 * Email address object from Ashby API
 */
export declare const AshbyEmailSchema: z.ZodObject<{
    value: z.ZodString;
    type: z.ZodEnum<["Personal", "Work", "Other"]>;
    isPrimary: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    value: string;
    type: "Personal" | "Work" | "Other";
    isPrimary: boolean;
}, {
    value: string;
    type: "Personal" | "Work" | "Other";
    isPrimary: boolean;
}>;
/**
 * Phone number object from Ashby API
 */
export declare const AshbyPhoneSchema: z.ZodObject<{
    value: z.ZodString;
    type: z.ZodEnum<["Personal", "Work", "Other"]>;
    isPrimary: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    value: string;
    type: "Personal" | "Work" | "Other";
    isPrimary: boolean;
}, {
    value: string;
    type: "Personal" | "Work" | "Other";
    isPrimary: boolean;
}>;
/**
 * Custom field object from Ashby API
 */
export declare const AshbyCustomFieldSchema: z.ZodObject<{
    id: z.ZodString;
    title: z.ZodString;
    value: z.ZodUnknown;
    isPrivate: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    title: string;
    id: string;
    value?: unknown;
    isPrivate?: boolean | undefined;
}, {
    title: string;
    id: string;
    value?: unknown;
    isPrivate?: boolean | undefined;
}>;
/**
 * Candidate object from Ashby API
 */
export declare const AshbyCandidateSchema: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodOptional<z.ZodString>;
    updatedAt: z.ZodOptional<z.ZodString>;
    name: z.ZodString;
    primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
        isPrimary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }>>>;
    primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
        isPrimary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }>>>;
    customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodString;
        value: z.ZodUnknown;
        isPrivate: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }, {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    createdAt?: string | undefined;
    updatedAt?: string | undefined;
    primaryEmailAddress?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    primaryPhoneNumber?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    customFields?: {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }[] | undefined;
}, {
    name: string;
    id: string;
    createdAt?: string | undefined;
    updatedAt?: string | undefined;
    primaryEmailAddress?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    primaryPhoneNumber?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    customFields?: {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }[] | undefined;
}>;
/**
 * Social link object from Ashby API
 */
export declare const AshbySocialLinkSchema: z.ZodObject<{
    url: z.ZodString;
    type: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: string;
    url: string;
}, {
    type: string;
    url: string;
}>;
/**
 * Tag object from Ashby API
 */
export declare const AshbyTagSchema: z.ZodObject<{
    id: z.ZodString;
    title: z.ZodString;
    isArchived: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    title: string;
    id: string;
    isArchived?: boolean | undefined;
}, {
    title: string;
    id: string;
    isArchived?: boolean | undefined;
}>;
/**
 * File handle object from Ashby API
 */
export declare const AshbyFileHandleSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    handle: z.ZodString;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    handle: string;
}, {
    name: string;
    id: string;
    handle: string;
}>;
/**
 * Selectable value for custom field from Ashby API
 */
export declare const AshbySelectableValueSchema: z.ZodObject<{
    label: z.ZodString;
    value: z.ZodString;
    isArchived: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    value: string;
    label: string;
    isArchived: boolean;
}, {
    value: string;
    label: string;
    isArchived: boolean;
}>;
/**
 * Custom field definition from Ashby API (from customField.list endpoint)
 */
export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{
    id: z.ZodString;
    isPrivate: z.ZodBoolean;
    title: z.ZodString;
    objectType: z.ZodString;
    isArchived: z.ZodBoolean;
    fieldType: z.ZodString;
    selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
        label: z.ZodString;
        value: z.ZodString;
        isArchived: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        label: string;
        isArchived: boolean;
    }, {
        value: string;
        label: string;
        isArchived: boolean;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    title: string;
    id: string;
    isArchived: boolean;
    isPrivate: boolean;
    objectType: string;
    fieldType: string;
    selectableValues?: {
        value: string;
        label: string;
        isArchived: boolean;
    }[] | undefined;
}, {
    title: string;
    id: string;
    isArchived: boolean;
    isPrivate: boolean;
    objectType: string;
    fieldType: string;
    selectableValues?: {
        value: string;
        label: string;
        isArchived: boolean;
    }[] | undefined;
}>;
/**
 * Candidate list item from Ashby API (from candidate.list endpoint)
 */
export declare const AshbyCandidateListItemSchema: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodOptional<z.ZodString>;
    updatedAt: z.ZodOptional<z.ZodString>;
    name: z.ZodString;
    primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
        isPrimary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }>>>;
    emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
        value: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
        isPrimary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }>, "many">>;
    primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
        isPrimary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }>>>;
    phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
        value: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
        isPrimary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }, {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }>, "many">>;
    socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
        url: z.ZodString;
        type: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: string;
        url: string;
    }, {
        type: string;
        url: string;
    }>, "many">>;
    tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodString;
        isArchived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }, {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }>, "many">>;
    position: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        handle: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        handle: string;
    }, {
        name: string;
        id: string;
        handle: string;
    }>>>;
    fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        handle: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        handle: string;
    }, {
        name: string;
        id: string;
        handle: string;
    }>, "many">>;
    customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodString;
        value: z.ZodUnknown;
        isPrivate: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }, {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    tags?: {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }[] | undefined;
    position?: string | null | undefined;
    createdAt?: string | undefined;
    company?: string | null | undefined;
    updatedAt?: string | undefined;
    primaryEmailAddress?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    emailAddresses?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }[] | undefined;
    primaryPhoneNumber?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    phoneNumbers?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }[] | undefined;
    socialLinks?: {
        type: string;
        url: string;
    }[] | undefined;
    school?: string | null | undefined;
    applicationIds?: string[] | undefined;
    resumeFileHandle?: {
        name: string;
        id: string;
        handle: string;
    } | null | undefined;
    fileHandles?: {
        name: string;
        id: string;
        handle: string;
    }[] | undefined;
    customFields?: {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }[] | undefined;
}, {
    name: string;
    id: string;
    tags?: {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }[] | undefined;
    position?: string | null | undefined;
    createdAt?: string | undefined;
    company?: string | null | undefined;
    updatedAt?: string | undefined;
    primaryEmailAddress?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    emailAddresses?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }[] | undefined;
    primaryPhoneNumber?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    } | null | undefined;
    phoneNumbers?: {
        value: string;
        type: "Personal" | "Work" | "Other";
        isPrimary: boolean;
    }[] | undefined;
    socialLinks?: {
        type: string;
        url: string;
    }[] | undefined;
    school?: string | null | undefined;
    applicationIds?: string[] | undefined;
    resumeFileHandle?: {
        name: string;
        id: string;
        handle: string;
    } | null | undefined;
    fileHandles?: {
        name: string;
        id: string;
        handle: string;
    }[] | undefined;
    customFields?: {
        title: string;
        id: string;
        value?: unknown;
        isPrivate?: boolean | undefined;
    }[] | undefined;
}>;
export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"list_candidates">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    cursor: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodEnum<["Hired", "Archived", "Active", "Lead"]>>;
    job_id: z.ZodOptional<z.ZodString>;
    created_after: z.ZodOptional<z.ZodNumber>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_candidates";
    limit: number;
    status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cursor?: string | undefined;
    job_id?: string | undefined;
    created_after?: number | undefined;
}, {
    operation: "list_candidates";
    status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
    job_id?: string | undefined;
    created_after?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_candidate">;
    candidate_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_candidate";
    candidate_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_candidate";
    candidate_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_candidate">;
    name: z.ZodString;
    emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        type: z.ZodEnum<["Personal", "Work", "Other"]>;
    }, "strip", z.ZodTypeAny, {
        type: "Personal" | "Work" | "Other";
        email: string;
    }, {
        type: "Personal" | "Work" | "Other";
        email: string;
    }>, "many">>;
    phone_number: z.ZodOptional<z.ZodString>;
    linkedin_url: z.ZodOptional<z.ZodString>;
    github_url: z.ZodOptional<z.ZodString>;
    website: z.ZodOptional<z.ZodString>;
    source_id: z.ZodOptional<z.ZodString>;
    credited_to_user_id: z.ZodOptional<z.ZodString>;
    tag: z.ZodOptional<z.ZodString>;
    allow_duplicate_linkedin: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    operation: "create_candidate";
    allow_duplicate_linkedin: boolean;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    website?: string | undefined;
    emails?: {
        type: "Personal" | "Work" | "Other";
        email: string;
    }[] | undefined;
    tag?: string | undefined;
    phone_number?: string | undefined;
    linkedin_url?: string | undefined;
    github_url?: string | undefined;
    source_id?: string | undefined;
    credited_to_user_id?: string | undefined;
}, {
    name: string;
    operation: "create_candidate";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    website?: string | undefined;
    emails?: {
        type: "Personal" | "Work" | "Other";
        email: string;
    }[] | undefined;
    tag?: string | undefined;
    phone_number?: string | undefined;
    linkedin_url?: string | undefined;
    github_url?: string | undefined;
    source_id?: string | undefined;
    credited_to_user_id?: string | undefined;
    allow_duplicate_linkedin?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search_candidates">;
    email: z.ZodOptional<z.ZodString>;
    name: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "search_candidates";
    name?: string | undefined;
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "search_candidates";
    name?: string | undefined;
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"add_tag">;
    candidate_id: z.ZodString;
    tag_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "add_tag";
    candidate_id: string;
    tag_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "add_tag";
    candidate_id: string;
    tag_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_tags">;
    include_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_tags";
    include_archived: boolean;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_tags";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    include_archived?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_tag">;
    title: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    title: string;
    operation: "create_tag";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    title: string;
    operation: "create_tag";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_custom_fields">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    cursor: z.ZodOptional<z.ZodString>;
    sync_token: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_custom_fields";
    limit: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cursor?: string | undefined;
    sync_token?: string | undefined;
}, {
    operation: "list_custom_fields";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
    sync_token?: string | undefined;
}>]>;
export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"list_candidates">;
    success: z.ZodBoolean;
    candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        name: z.ZodString;
        primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>, "many">>;
        primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>, "many">>;
        socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
            url: z.ZodString;
            type: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: string;
            url: string;
        }, {
            type: string;
            url: string;
        }>, "many">>;
        tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            title: z.ZodString;
            isArchived: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            title: string;
            id: string;
            isArchived?: boolean | undefined;
        }, {
            title: string;
            id: string;
            isArchived?: boolean | undefined;
        }>, "many">>;
        position: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            id: z.ZodString;
            name: z.ZodString;
            handle: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            id: string;
            handle: string;
        }, {
            name: string;
            id: string;
            handle: string;
        }>>>;
        fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            name: z.ZodString;
            handle: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            id: string;
            handle: string;
        }, {
            name: string;
            id: string;
            handle: string;
        }>, "many">>;
        customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            title: z.ZodString;
            value: z.ZodUnknown;
            isPrivate: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        tags?: {
            title: string;
            id: string;
            isArchived?: boolean | undefined;
        }[] | undefined;
        position?: string | null | undefined;
        createdAt?: string | undefined;
        company?: string | null | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        emailAddresses?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        phoneNumbers?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        socialLinks?: {
            type: string;
            url: string;
        }[] | undefined;
        school?: string | null | undefined;
        applicationIds?: string[] | undefined;
        resumeFileHandle?: {
            name: string;
            id: string;
            handle: string;
        } | null | undefined;
        fileHandles?: {
            name: string;
            id: string;
            handle: string;
        }[] | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }, {
        name: string;
        id: string;
        tags?: {
            title: string;
            id: string;
            isArchived?: boolean | undefined;
        }[] | undefined;
        position?: string | null | undefined;
        createdAt?: string | undefined;
        company?: string | null | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        emailAddresses?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        phoneNumbers?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        socialLinks?: {
            type: string;
            url: string;
        }[] | undefined;
        school?: string | null | undefined;
        applicationIds?: string[] | undefined;
        resumeFileHandle?: {
            name: string;
            id: string;
            handle: string;
        } | null | undefined;
        fileHandles?: {
            name: string;
            id: string;
            handle: string;
        }[] | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }>, "many">>;
    next_cursor: z.ZodOptional<z.ZodString>;
    more_data_available: z.ZodOptional<z.ZodBoolean>;
    sync_token: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_candidates";
    next_cursor?: string | undefined;
    sync_token?: string | undefined;
    candidates?: {
        name: string;
        id: string;
        tags?: {
            title: string;
            id: string;
            isArchived?: boolean | undefined;
        }[] | undefined;
        position?: string | null | undefined;
        createdAt?: string | undefined;
        company?: string | null | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        emailAddresses?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        phoneNumbers?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        socialLinks?: {
            type: string;
            url: string;
        }[] | undefined;
        school?: string | null | undefined;
        applicationIds?: string[] | undefined;
        resumeFileHandle?: {
            name: string;
            id: string;
            handle: string;
        } | null | undefined;
        fileHandles?: {
            name: string;
            id: string;
            handle: string;
        }[] | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }[] | undefined;
    more_data_available?: boolean | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_candidates";
    next_cursor?: string | undefined;
    sync_token?: string | undefined;
    candidates?: {
        name: string;
        id: string;
        tags?: {
            title: string;
            id: string;
            isArchived?: boolean | undefined;
        }[] | undefined;
        position?: string | null | undefined;
        createdAt?: string | undefined;
        company?: string | null | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        emailAddresses?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        phoneNumbers?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }[] | undefined;
        socialLinks?: {
            type: string;
            url: string;
        }[] | undefined;
        school?: string | null | undefined;
        applicationIds?: string[] | undefined;
        resumeFileHandle?: {
            name: string;
            id: string;
            handle: string;
        } | null | undefined;
        fileHandles?: {
            name: string;
            id: string;
            handle: string;
        }[] | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }[] | undefined;
    more_data_available?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_candidate">;
    success: z.ZodBoolean;
    candidate: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        name: z.ZodString;
        primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            title: z.ZodString;
            value: z.ZodUnknown;
            isPrivate: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "get_candidate";
    candidate?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "get_candidate";
    candidate?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_candidate">;
    success: z.ZodBoolean;
    candidate: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        name: z.ZodString;
        primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            title: z.ZodString;
            value: z.ZodUnknown;
            isPrivate: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }>>;
    duplicate: z.ZodOptional<z.ZodBoolean>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_candidate";
    candidate?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    } | undefined;
    duplicate?: boolean | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_candidate";
    candidate?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    } | undefined;
    duplicate?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search_candidates">;
    success: z.ZodBoolean;
    candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        name: z.ZodString;
        primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            title: z.ZodString;
            value: z.ZodUnknown;
            isPrivate: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "search_candidates";
    candidates?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "search_candidates";
    candidates?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"add_tag">;
    success: z.ZodBoolean;
    candidate: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        name: z.ZodString;
        primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            type: z.ZodEnum<["Personal", "Work", "Other"]>;
            isPrimary: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }, {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        }>>>;
        customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            title: z.ZodString;
            value: z.ZodUnknown;
            isPrivate: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }, {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "add_tag";
    candidate?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "add_tag";
    candidate?: {
        name: string;
        id: string;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        primaryEmailAddress?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        primaryPhoneNumber?: {
            value: string;
            type: "Personal" | "Work" | "Other";
            isPrimary: boolean;
        } | null | undefined;
        customFields?: {
            title: string;
            id: string;
            value?: unknown;
            isPrivate?: boolean | undefined;
        }[] | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_tags">;
    success: z.ZodBoolean;
    tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodString;
        isArchived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }, {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_tags";
    tags?: {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_tags";
    tags?: {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_tag">;
    success: z.ZodBoolean;
    tag: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodString;
        isArchived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }, {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_tag";
    tag?: {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_tag";
    tag?: {
        title: string;
        id: string;
        isArchived?: boolean | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_custom_fields">;
    success: z.ZodBoolean;
    custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        isPrivate: z.ZodBoolean;
        title: z.ZodString;
        objectType: z.ZodString;
        isArchived: z.ZodBoolean;
        fieldType: z.ZodString;
        selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
            label: z.ZodString;
            value: z.ZodString;
            isArchived: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            value: string;
            label: string;
            isArchived: boolean;
        }, {
            value: string;
            label: string;
            isArchived: boolean;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        title: string;
        id: string;
        isArchived: boolean;
        isPrivate: boolean;
        objectType: string;
        fieldType: string;
        selectableValues?: {
            value: string;
            label: string;
            isArchived: boolean;
        }[] | undefined;
    }, {
        title: string;
        id: string;
        isArchived: boolean;
        isPrivate: boolean;
        objectType: string;
        fieldType: string;
        selectableValues?: {
            value: string;
            label: string;
            isArchived: boolean;
        }[] | undefined;
    }>, "many">>;
    next_cursor: z.ZodOptional<z.ZodString>;
    more_data_available: z.ZodOptional<z.ZodBoolean>;
    sync_token: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_custom_fields";
    next_cursor?: string | undefined;
    custom_fields?: {
        title: string;
        id: string;
        isArchived: boolean;
        isPrivate: boolean;
        objectType: string;
        fieldType: string;
        selectableValues?: {
            value: string;
            label: string;
            isArchived: boolean;
        }[] | undefined;
    }[] | undefined;
    sync_token?: string | undefined;
    more_data_available?: boolean | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_custom_fields";
    next_cursor?: string | undefined;
    custom_fields?: {
        title: string;
        id: string;
        isArchived: boolean;
        isPrivate: boolean;
        objectType: string;
        fieldType: string;
        selectableValues?: {
            value: string;
            label: string;
            isArchived: boolean;
        }[] | undefined;
    }[] | undefined;
    sync_token?: string | undefined;
    more_data_available?: boolean | undefined;
}>]>;
export type AshbyParamsInput = z.input<typeof AshbyParamsSchema>;
export type AshbyParams = z.output<typeof AshbyParamsSchema>;
export type AshbyResult = z.output<typeof AshbyResultSchema>;
export type AshbyCandidate = z.output<typeof AshbyCandidateSchema>;
export type AshbyEmail = z.output<typeof AshbyEmailSchema>;
export type AshbyPhone = z.output<typeof AshbyPhoneSchema>;
export type AshbyCustomField = z.output<typeof AshbyCustomFieldSchema>;
export type AshbyCandidateListItem = z.output<typeof AshbyCandidateListItemSchema>;
export type AshbySocialLink = z.output<typeof AshbySocialLinkSchema>;
export type AshbyTag = z.output<typeof AshbyTagSchema>;
export type AshbyFileHandle = z.output<typeof AshbyFileHandleSchema>;
export type AshbySelectableValue = z.output<typeof AshbySelectableValueSchema>;
export type AshbyCustomFieldDefinition = z.output<typeof AshbyCustomFieldDefinitionSchema>;
export type AshbyListCandidatesParams = Extract<AshbyParams, {
    operation: 'list_candidates';
}>;
export type AshbyGetCandidateParams = Extract<AshbyParams, {
    operation: 'get_candidate';
}>;
export type AshbyCreateCandidateParams = Extract<AshbyParams, {
    operation: 'create_candidate';
}>;
export type AshbySearchCandidatesParams = Extract<AshbyParams, {
    operation: 'search_candidates';
}>;
export type AshbyAddTagParams = Extract<AshbyParams, {
    operation: 'add_tag';
}>;
export type AshbyListTagsParams = Extract<AshbyParams, {
    operation: 'list_tags';
}>;
export type AshbyCreateTagParams = Extract<AshbyParams, {
    operation: 'create_tag';
}>;
export type AshbyListCustomFieldsParams = Extract<AshbyParams, {
    operation: 'list_custom_fields';
}>;
//# sourceMappingURL=ashby.schema.d.ts.map