import { z } from 'zod';
import { ToolBubble } from '../../types/tool-bubble-class.js';
import type { BubbleContext } from '../../types/bubble.js';
import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
declare const PersonResultSchema: z.ZodObject<{
    name: z.ZodNullable<z.ZodString>;
    title: z.ZodNullable<z.ZodString>;
    headline: z.ZodNullable<z.ZodString>;
    linkedinUrl: z.ZodNullable<z.ZodString>;
    profilePictureUrl: z.ZodNullable<z.ZodString>;
    emails: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
    twitterHandle: z.ZodNullable<z.ZodString>;
    websites: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
    enrichedWorkEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    enrichedPersonalEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    enrichedWorkEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        status: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        status?: string | undefined;
    }, {
        email: string;
        status?: string | undefined;
    }>, "many">>>;
    enrichedPersonalEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        status: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        status?: string | undefined;
    }, {
        email: string;
        status?: string | undefined;
    }>, "many">>>;
    seniorityLevel: z.ZodNullable<z.ZodString>;
    yearsOfExperience: z.ZodNullable<z.ZodNumber>;
    recentlyChangedJobs: z.ZodNullable<z.ZodBoolean>;
    location: z.ZodNullable<z.ZodString>;
    locationCity: z.ZodNullable<z.ZodString>;
    locationCountry: z.ZodNullable<z.ZodString>;
    skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
    languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
    summary: z.ZodNullable<z.ZodString>;
    numConnections: z.ZodNullable<z.ZodNumber>;
    currentEmployers: z.ZodNullable<z.ZodArray<z.ZodObject<{
        title: z.ZodNullable<z.ZodString>;
        companyName: z.ZodNullable<z.ZodString>;
        companyLinkedinUrl: z.ZodNullable<z.ZodString>;
        companyDomainUrl: z.ZodNullable<z.ZodString>;
        seniorityLevel: z.ZodNullable<z.ZodString>;
        functionCategory: z.ZodNullable<z.ZodString>;
        startDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
        yearsAtCompany: z.ZodNullable<z.ZodNumber>;
        companyHeadcount: z.ZodNullable<z.ZodNumber>;
        companyIndustries: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        title: string | null;
        companyName: string | null;
        companyLinkedinUrl: string | null;
        seniorityLevel: string | null;
        startDate: string | number | null;
        companyDomainUrl: string | null;
        functionCategory: string | null;
        yearsAtCompany: number | null;
        companyHeadcount: number | null;
        companyIndustries: string[] | null;
    }, {
        title: string | null;
        companyName: string | null;
        companyLinkedinUrl: string | null;
        seniorityLevel: string | null;
        startDate: string | number | null;
        companyDomainUrl: string | null;
        functionCategory: string | null;
        yearsAtCompany: number | null;
        companyHeadcount: number | null;
        companyIndustries: string[] | null;
    }>, "many">>;
    pastEmployers: z.ZodNullable<z.ZodArray<z.ZodObject<{
        title: z.ZodNullable<z.ZodString>;
        companyName: z.ZodNullable<z.ZodString>;
        startDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
        endDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
    }, "strip", z.ZodTypeAny, {
        title: string | null;
        companyName: string | null;
        startDate: string | number | null;
        endDate: string | number | null;
    }, {
        title: string | null;
        companyName: string | null;
        startDate: string | number | null;
        endDate: string | number | null;
    }>, "many">>;
    education: z.ZodNullable<z.ZodArray<z.ZodObject<{
        instituteName: z.ZodNullable<z.ZodString>;
        degreeName: z.ZodNullable<z.ZodString>;
        fieldOfStudy: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        fieldOfStudy: string | null;
        instituteName: string | null;
        degreeName: string | null;
    }, {
        fieldOfStudy: string | null;
        instituteName: string | null;
        degreeName: string | null;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    title: string | null;
    name: string | null;
    summary: string | null;
    location: string | null;
    headline: string | null;
    seniorityLevel: string | null;
    linkedinUrl: string | null;
    skills: string[] | null;
    education: {
        fieldOfStudy: string | null;
        instituteName: string | null;
        degreeName: string | null;
    }[] | null;
    languages: string[] | null;
    emails: string[] | null;
    websites: string[] | null;
    profilePictureUrl: string | null;
    twitterHandle: string | null;
    yearsOfExperience: number | null;
    recentlyChangedJobs: boolean | null;
    locationCity: string | null;
    locationCountry: string | null;
    numConnections: number | null;
    currentEmployers: {
        title: string | null;
        companyName: string | null;
        companyLinkedinUrl: string | null;
        seniorityLevel: string | null;
        startDate: string | number | null;
        companyDomainUrl: string | null;
        functionCategory: string | null;
        yearsAtCompany: number | null;
        companyHeadcount: number | null;
        companyIndustries: string[] | null;
    }[] | null;
    pastEmployers: {
        title: string | null;
        companyName: string | null;
        startDate: string | number | null;
        endDate: string | number | null;
    }[] | null;
    enrichedWorkEmail?: string | null | undefined;
    enrichedPersonalEmail?: string | null | undefined;
    enrichedWorkEmails?: {
        email: string;
        status?: string | undefined;
    }[] | null | undefined;
    enrichedPersonalEmails?: {
        email: string;
        status?: string | undefined;
    }[] | null | undefined;
}, {
    title: string | null;
    name: string | null;
    summary: string | null;
    location: string | null;
    headline: string | null;
    seniorityLevel: string | null;
    linkedinUrl: string | null;
    skills: string[] | null;
    education: {
        fieldOfStudy: string | null;
        instituteName: string | null;
        degreeName: string | null;
    }[] | null;
    languages: string[] | null;
    emails: string[] | null;
    websites: string[] | null;
    profilePictureUrl: string | null;
    twitterHandle: string | null;
    yearsOfExperience: number | null;
    recentlyChangedJobs: boolean | null;
    locationCity: string | null;
    locationCountry: string | null;
    numConnections: number | null;
    currentEmployers: {
        title: string | null;
        companyName: string | null;
        companyLinkedinUrl: string | null;
        seniorityLevel: string | null;
        startDate: string | number | null;
        companyDomainUrl: string | null;
        functionCategory: string | null;
        yearsAtCompany: number | null;
        companyHeadcount: number | null;
        companyIndustries: string[] | null;
    }[] | null;
    pastEmployers: {
        title: string | null;
        companyName: string | null;
        startDate: string | number | null;
        endDate: string | number | null;
    }[] | null;
    enrichedWorkEmail?: string | null | undefined;
    enrichedPersonalEmail?: string | null | undefined;
    enrichedWorkEmails?: {
        email: string;
        status?: string | undefined;
    }[] | null | undefined;
    enrichedPersonalEmails?: {
        email: string;
        status?: string | undefined;
    }[] | null | undefined;
}>;
declare const PeopleSearchToolParamsSchema: z.ZodObject<{
    companyName: z.ZodOptional<z.ZodString>;
    companyLinkedinUrl: z.ZodOptional<z.ZodString>;
    jobTitle: z.ZodOptional<z.ZodString>;
    jobTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    location: z.ZodOptional<z.ZodString>;
    locationRadius: z.ZodOptional<z.ZodObject<{
        location: z.ZodString;
        radiusMiles: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        location: string;
        radiusMiles: number;
    }, {
        location: string;
        radiusMiles: number;
    }>>;
    skills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    minYearsExperience: z.ZodOptional<z.ZodNumber>;
    maxYearsExperience: z.ZodOptional<z.ZodNumber>;
    seniorityLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    functionCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    companyIndustries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    minCompanyHeadcount: z.ZodOptional<z.ZodNumber>;
    maxCompanyHeadcount: z.ZodOptional<z.ZodNumber>;
    minYearsAtCompany: z.ZodOptional<z.ZodNumber>;
    pastCompanyName: z.ZodOptional<z.ZodString>;
    pastJobTitle: z.ZodOptional<z.ZodString>;
    schoolName: z.ZodOptional<z.ZodString>;
    country: z.ZodOptional<z.ZodString>;
    city: z.ZodOptional<z.ZodString>;
    recentlyChangedJobs: z.ZodOptional<z.ZodBoolean>;
    minConnections: z.ZodOptional<z.ZodNumber>;
    excludeCompanies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    excludeProfiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
    cursor: z.ZodOptional<z.ZodString>;
    enrichEmails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    includePersonalEmails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    enrichEmails: boolean;
    includePersonalEmails: boolean;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
    location?: string | undefined;
    companyName?: string | undefined;
    companyLinkedinUrl?: string | undefined;
    country?: string | undefined;
    city?: string | undefined;
    skills?: string[] | undefined;
    schoolName?: string | undefined;
    languages?: string[] | undefined;
    recentlyChangedJobs?: boolean | undefined;
    companyIndustries?: string[] | undefined;
    jobTitle?: string | undefined;
    jobTitles?: string[] | undefined;
    locationRadius?: {
        location: string;
        radiusMiles: number;
    } | undefined;
    minYearsExperience?: number | undefined;
    maxYearsExperience?: number | undefined;
    seniorityLevels?: string[] | undefined;
    functionCategories?: string[] | undefined;
    minCompanyHeadcount?: number | undefined;
    maxCompanyHeadcount?: number | undefined;
    minYearsAtCompany?: number | undefined;
    pastCompanyName?: string | undefined;
    pastJobTitle?: string | undefined;
    minConnections?: number | undefined;
    excludeCompanies?: string[] | undefined;
    excludeProfiles?: string[] | undefined;
}, {
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
    location?: string | undefined;
    companyName?: string | undefined;
    companyLinkedinUrl?: string | undefined;
    country?: string | undefined;
    city?: string | undefined;
    skills?: string[] | undefined;
    schoolName?: string | undefined;
    languages?: string[] | undefined;
    recentlyChangedJobs?: boolean | undefined;
    companyIndustries?: string[] | undefined;
    jobTitle?: string | undefined;
    jobTitles?: string[] | undefined;
    locationRadius?: {
        location: string;
        radiusMiles: number;
    } | undefined;
    minYearsExperience?: number | undefined;
    maxYearsExperience?: number | undefined;
    seniorityLevels?: string[] | undefined;
    functionCategories?: string[] | undefined;
    minCompanyHeadcount?: number | undefined;
    maxCompanyHeadcount?: number | undefined;
    minYearsAtCompany?: number | undefined;
    pastCompanyName?: string | undefined;
    pastJobTitle?: string | undefined;
    minConnections?: number | undefined;
    excludeCompanies?: string[] | undefined;
    excludeProfiles?: string[] | undefined;
    enrichEmails?: boolean | undefined;
    includePersonalEmails?: boolean | undefined;
}>;
declare const PeopleSearchToolResultSchema: z.ZodObject<{
    people: z.ZodArray<z.ZodObject<{
        name: z.ZodNullable<z.ZodString>;
        title: z.ZodNullable<z.ZodString>;
        headline: z.ZodNullable<z.ZodString>;
        linkedinUrl: z.ZodNullable<z.ZodString>;
        profilePictureUrl: z.ZodNullable<z.ZodString>;
        emails: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
        twitterHandle: z.ZodNullable<z.ZodString>;
        websites: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
        enrichedWorkEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enrichedPersonalEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enrichedWorkEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
            email: z.ZodString;
            status: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            email: string;
            status?: string | undefined;
        }, {
            email: string;
            status?: string | undefined;
        }>, "many">>>;
        enrichedPersonalEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
            email: z.ZodString;
            status: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            email: string;
            status?: string | undefined;
        }, {
            email: string;
            status?: string | undefined;
        }>, "many">>>;
        seniorityLevel: z.ZodNullable<z.ZodString>;
        yearsOfExperience: z.ZodNullable<z.ZodNumber>;
        recentlyChangedJobs: z.ZodNullable<z.ZodBoolean>;
        location: z.ZodNullable<z.ZodString>;
        locationCity: z.ZodNullable<z.ZodString>;
        locationCountry: z.ZodNullable<z.ZodString>;
        skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
        languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
        summary: z.ZodNullable<z.ZodString>;
        numConnections: z.ZodNullable<z.ZodNumber>;
        currentEmployers: z.ZodNullable<z.ZodArray<z.ZodObject<{
            title: z.ZodNullable<z.ZodString>;
            companyName: z.ZodNullable<z.ZodString>;
            companyLinkedinUrl: z.ZodNullable<z.ZodString>;
            companyDomainUrl: z.ZodNullable<z.ZodString>;
            seniorityLevel: z.ZodNullable<z.ZodString>;
            functionCategory: z.ZodNullable<z.ZodString>;
            startDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
            yearsAtCompany: z.ZodNullable<z.ZodNumber>;
            companyHeadcount: z.ZodNullable<z.ZodNumber>;
            companyIndustries: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            title: string | null;
            companyName: string | null;
            companyLinkedinUrl: string | null;
            seniorityLevel: string | null;
            startDate: string | number | null;
            companyDomainUrl: string | null;
            functionCategory: string | null;
            yearsAtCompany: number | null;
            companyHeadcount: number | null;
            companyIndustries: string[] | null;
        }, {
            title: string | null;
            companyName: string | null;
            companyLinkedinUrl: string | null;
            seniorityLevel: string | null;
            startDate: string | number | null;
            companyDomainUrl: string | null;
            functionCategory: string | null;
            yearsAtCompany: number | null;
            companyHeadcount: number | null;
            companyIndustries: string[] | null;
        }>, "many">>;
        pastEmployers: z.ZodNullable<z.ZodArray<z.ZodObject<{
            title: z.ZodNullable<z.ZodString>;
            companyName: z.ZodNullable<z.ZodString>;
            startDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
            endDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
        }, "strip", z.ZodTypeAny, {
            title: string | null;
            companyName: string | null;
            startDate: string | number | null;
            endDate: string | number | null;
        }, {
            title: string | null;
            companyName: string | null;
            startDate: string | number | null;
            endDate: string | number | null;
        }>, "many">>;
        education: z.ZodNullable<z.ZodArray<z.ZodObject<{
            instituteName: z.ZodNullable<z.ZodString>;
            degreeName: z.ZodNullable<z.ZodString>;
            fieldOfStudy: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            fieldOfStudy: string | null;
            instituteName: string | null;
            degreeName: string | null;
        }, {
            fieldOfStudy: string | null;
            instituteName: string | null;
            degreeName: string | null;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        title: string | null;
        name: string | null;
        summary: string | null;
        location: string | null;
        headline: string | null;
        seniorityLevel: string | null;
        linkedinUrl: string | null;
        skills: string[] | null;
        education: {
            fieldOfStudy: string | null;
            instituteName: string | null;
            degreeName: string | null;
        }[] | null;
        languages: string[] | null;
        emails: string[] | null;
        websites: string[] | null;
        profilePictureUrl: string | null;
        twitterHandle: string | null;
        yearsOfExperience: number | null;
        recentlyChangedJobs: boolean | null;
        locationCity: string | null;
        locationCountry: string | null;
        numConnections: number | null;
        currentEmployers: {
            title: string | null;
            companyName: string | null;
            companyLinkedinUrl: string | null;
            seniorityLevel: string | null;
            startDate: string | number | null;
            companyDomainUrl: string | null;
            functionCategory: string | null;
            yearsAtCompany: number | null;
            companyHeadcount: number | null;
            companyIndustries: string[] | null;
        }[] | null;
        pastEmployers: {
            title: string | null;
            companyName: string | null;
            startDate: string | number | null;
            endDate: string | number | null;
        }[] | null;
        enrichedWorkEmail?: string | null | undefined;
        enrichedPersonalEmail?: string | null | undefined;
        enrichedWorkEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
        enrichedPersonalEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
    }, {
        title: string | null;
        name: string | null;
        summary: string | null;
        location: string | null;
        headline: string | null;
        seniorityLevel: string | null;
        linkedinUrl: string | null;
        skills: string[] | null;
        education: {
            fieldOfStudy: string | null;
            instituteName: string | null;
            degreeName: string | null;
        }[] | null;
        languages: string[] | null;
        emails: string[] | null;
        websites: string[] | null;
        profilePictureUrl: string | null;
        twitterHandle: string | null;
        yearsOfExperience: number | null;
        recentlyChangedJobs: boolean | null;
        locationCity: string | null;
        locationCountry: string | null;
        numConnections: number | null;
        currentEmployers: {
            title: string | null;
            companyName: string | null;
            companyLinkedinUrl: string | null;
            seniorityLevel: string | null;
            startDate: string | number | null;
            companyDomainUrl: string | null;
            functionCategory: string | null;
            yearsAtCompany: number | null;
            companyHeadcount: number | null;
            companyIndustries: string[] | null;
        }[] | null;
        pastEmployers: {
            title: string | null;
            companyName: string | null;
            startDate: string | number | null;
            endDate: string | number | null;
        }[] | null;
        enrichedWorkEmail?: string | null | undefined;
        enrichedPersonalEmail?: string | null | undefined;
        enrichedWorkEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
        enrichedPersonalEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
    }>, "many">;
    totalCount: z.ZodNumber;
    nextCursor: z.ZodOptional<z.ZodString>;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    people: {
        title: string | null;
        name: string | null;
        summary: string | null;
        location: string | null;
        headline: string | null;
        seniorityLevel: string | null;
        linkedinUrl: string | null;
        skills: string[] | null;
        education: {
            fieldOfStudy: string | null;
            instituteName: string | null;
            degreeName: string | null;
        }[] | null;
        languages: string[] | null;
        emails: string[] | null;
        websites: string[] | null;
        profilePictureUrl: string | null;
        twitterHandle: string | null;
        yearsOfExperience: number | null;
        recentlyChangedJobs: boolean | null;
        locationCity: string | null;
        locationCountry: string | null;
        numConnections: number | null;
        currentEmployers: {
            title: string | null;
            companyName: string | null;
            companyLinkedinUrl: string | null;
            seniorityLevel: string | null;
            startDate: string | number | null;
            companyDomainUrl: string | null;
            functionCategory: string | null;
            yearsAtCompany: number | null;
            companyHeadcount: number | null;
            companyIndustries: string[] | null;
        }[] | null;
        pastEmployers: {
            title: string | null;
            companyName: string | null;
            startDate: string | number | null;
            endDate: string | number | null;
        }[] | null;
        enrichedWorkEmail?: string | null | undefined;
        enrichedPersonalEmail?: string | null | undefined;
        enrichedWorkEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
        enrichedPersonalEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
    }[];
    totalCount: number;
    nextCursor?: string | undefined;
}, {
    success: boolean;
    error: string;
    people: {
        title: string | null;
        name: string | null;
        summary: string | null;
        location: string | null;
        headline: string | null;
        seniorityLevel: string | null;
        linkedinUrl: string | null;
        skills: string[] | null;
        education: {
            fieldOfStudy: string | null;
            instituteName: string | null;
            degreeName: string | null;
        }[] | null;
        languages: string[] | null;
        emails: string[] | null;
        websites: string[] | null;
        profilePictureUrl: string | null;
        twitterHandle: string | null;
        yearsOfExperience: number | null;
        recentlyChangedJobs: boolean | null;
        locationCity: string | null;
        locationCountry: string | null;
        numConnections: number | null;
        currentEmployers: {
            title: string | null;
            companyName: string | null;
            companyLinkedinUrl: string | null;
            seniorityLevel: string | null;
            startDate: string | number | null;
            companyDomainUrl: string | null;
            functionCategory: string | null;
            yearsAtCompany: number | null;
            companyHeadcount: number | null;
            companyIndustries: string[] | null;
        }[] | null;
        pastEmployers: {
            title: string | null;
            companyName: string | null;
            startDate: string | number | null;
            endDate: string | number | null;
        }[] | null;
        enrichedWorkEmail?: string | null | undefined;
        enrichedPersonalEmail?: string | null | undefined;
        enrichedWorkEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
        enrichedPersonalEmails?: {
            email: string;
            status?: string | undefined;
        }[] | null | undefined;
    }[];
    totalCount: number;
    nextCursor?: string | undefined;
}>;
type PeopleSearchToolParams = z.output<typeof PeopleSearchToolParamsSchema>;
type PeopleSearchToolResult = z.output<typeof PeopleSearchToolResultSchema>;
type PeopleSearchToolParamsInput = z.input<typeof PeopleSearchToolParamsSchema>;
export type PersonResult = z.output<typeof PersonResultSchema>;
export type PeopleSearchResult = PeopleSearchToolResult;
/**
 * People Search Tool
 *
 * Agent-friendly tool for searching and discovering professionals.
 * Uses the Crustdata PersonDB in-database search API for fast, comprehensive results.
 *
 * Features:
 * - Search by company name/URL, job title, location, or skills
 * - Filter by seniority level (CXO, VP, Director, etc.)
 * - Filter by years of experience
 * - Full profiles with work history and education
 * - Exclude specific companies or profiles
 *
 * Use cases:
 * - Find specific professionals at a company
 * - Search for people by job title across companies
 * - Discover professionals with specific skills
 * - Find senior executives (CXOs, VPs, Directors)
 * - Sales prospecting and lead generation
 *
 * Credits: 3 credits per 100 results returned
 */
export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams, PeopleSearchToolResult> {
    static readonly bubbleName: BubbleName;
    static readonly schema: z.ZodObject<{
        companyName: z.ZodOptional<z.ZodString>;
        companyLinkedinUrl: z.ZodOptional<z.ZodString>;
        jobTitle: z.ZodOptional<z.ZodString>;
        jobTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        location: z.ZodOptional<z.ZodString>;
        locationRadius: z.ZodOptional<z.ZodObject<{
            location: z.ZodString;
            radiusMiles: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            location: string;
            radiusMiles: number;
        }, {
            location: string;
            radiusMiles: number;
        }>>;
        skills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        minYearsExperience: z.ZodOptional<z.ZodNumber>;
        maxYearsExperience: z.ZodOptional<z.ZodNumber>;
        seniorityLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        functionCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        companyIndustries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        minCompanyHeadcount: z.ZodOptional<z.ZodNumber>;
        maxCompanyHeadcount: z.ZodOptional<z.ZodNumber>;
        minYearsAtCompany: z.ZodOptional<z.ZodNumber>;
        pastCompanyName: z.ZodOptional<z.ZodString>;
        pastJobTitle: z.ZodOptional<z.ZodString>;
        schoolName: z.ZodOptional<z.ZodString>;
        country: z.ZodOptional<z.ZodString>;
        city: z.ZodOptional<z.ZodString>;
        recentlyChangedJobs: z.ZodOptional<z.ZodBoolean>;
        minConnections: z.ZodOptional<z.ZodNumber>;
        excludeCompanies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        excludeProfiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
        cursor: z.ZodOptional<z.ZodString>;
        enrichEmails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        includePersonalEmails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        enrichEmails: boolean;
        includePersonalEmails: boolean;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        limit?: number | undefined;
        cursor?: string | undefined;
        location?: string | undefined;
        companyName?: string | undefined;
        companyLinkedinUrl?: string | undefined;
        country?: string | undefined;
        city?: string | undefined;
        skills?: string[] | undefined;
        schoolName?: string | undefined;
        languages?: string[] | undefined;
        recentlyChangedJobs?: boolean | undefined;
        companyIndustries?: string[] | undefined;
        jobTitle?: string | undefined;
        jobTitles?: string[] | undefined;
        locationRadius?: {
            location: string;
            radiusMiles: number;
        } | undefined;
        minYearsExperience?: number | undefined;
        maxYearsExperience?: number | undefined;
        seniorityLevels?: string[] | undefined;
        functionCategories?: string[] | undefined;
        minCompanyHeadcount?: number | undefined;
        maxCompanyHeadcount?: number | undefined;
        minYearsAtCompany?: number | undefined;
        pastCompanyName?: string | undefined;
        pastJobTitle?: string | undefined;
        minConnections?: number | undefined;
        excludeCompanies?: string[] | undefined;
        excludeProfiles?: string[] | undefined;
    }, {
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        limit?: number | undefined;
        cursor?: string | undefined;
        location?: string | undefined;
        companyName?: string | undefined;
        companyLinkedinUrl?: string | undefined;
        country?: string | undefined;
        city?: string | undefined;
        skills?: string[] | undefined;
        schoolName?: string | undefined;
        languages?: string[] | undefined;
        recentlyChangedJobs?: boolean | undefined;
        companyIndustries?: string[] | undefined;
        jobTitle?: string | undefined;
        jobTitles?: string[] | undefined;
        locationRadius?: {
            location: string;
            radiusMiles: number;
        } | undefined;
        minYearsExperience?: number | undefined;
        maxYearsExperience?: number | undefined;
        seniorityLevels?: string[] | undefined;
        functionCategories?: string[] | undefined;
        minCompanyHeadcount?: number | undefined;
        maxCompanyHeadcount?: number | undefined;
        minYearsAtCompany?: number | undefined;
        pastCompanyName?: string | undefined;
        pastJobTitle?: string | undefined;
        minConnections?: number | undefined;
        excludeCompanies?: string[] | undefined;
        excludeProfiles?: string[] | undefined;
        enrichEmails?: boolean | undefined;
        includePersonalEmails?: boolean | undefined;
    }>;
    static readonly resultSchema: z.ZodObject<{
        people: z.ZodArray<z.ZodObject<{
            name: z.ZodNullable<z.ZodString>;
            title: z.ZodNullable<z.ZodString>;
            headline: z.ZodNullable<z.ZodString>;
            linkedinUrl: z.ZodNullable<z.ZodString>;
            profilePictureUrl: z.ZodNullable<z.ZodString>;
            emails: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
            twitterHandle: z.ZodNullable<z.ZodString>;
            websites: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
            enrichedWorkEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            enrichedPersonalEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            enrichedWorkEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
                email: z.ZodString;
                status: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                email: string;
                status?: string | undefined;
            }, {
                email: string;
                status?: string | undefined;
            }>, "many">>>;
            enrichedPersonalEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
                email: z.ZodString;
                status: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                email: string;
                status?: string | undefined;
            }, {
                email: string;
                status?: string | undefined;
            }>, "many">>>;
            seniorityLevel: z.ZodNullable<z.ZodString>;
            yearsOfExperience: z.ZodNullable<z.ZodNumber>;
            recentlyChangedJobs: z.ZodNullable<z.ZodBoolean>;
            location: z.ZodNullable<z.ZodString>;
            locationCity: z.ZodNullable<z.ZodString>;
            locationCountry: z.ZodNullable<z.ZodString>;
            skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
            languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
            summary: z.ZodNullable<z.ZodString>;
            numConnections: z.ZodNullable<z.ZodNumber>;
            currentEmployers: z.ZodNullable<z.ZodArray<z.ZodObject<{
                title: z.ZodNullable<z.ZodString>;
                companyName: z.ZodNullable<z.ZodString>;
                companyLinkedinUrl: z.ZodNullable<z.ZodString>;
                companyDomainUrl: z.ZodNullable<z.ZodString>;
                seniorityLevel: z.ZodNullable<z.ZodString>;
                functionCategory: z.ZodNullable<z.ZodString>;
                startDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
                yearsAtCompany: z.ZodNullable<z.ZodNumber>;
                companyHeadcount: z.ZodNullable<z.ZodNumber>;
                companyIndustries: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                title: string | null;
                companyName: string | null;
                companyLinkedinUrl: string | null;
                seniorityLevel: string | null;
                startDate: string | number | null;
                companyDomainUrl: string | null;
                functionCategory: string | null;
                yearsAtCompany: number | null;
                companyHeadcount: number | null;
                companyIndustries: string[] | null;
            }, {
                title: string | null;
                companyName: string | null;
                companyLinkedinUrl: string | null;
                seniorityLevel: string | null;
                startDate: string | number | null;
                companyDomainUrl: string | null;
                functionCategory: string | null;
                yearsAtCompany: number | null;
                companyHeadcount: number | null;
                companyIndustries: string[] | null;
            }>, "many">>;
            pastEmployers: z.ZodNullable<z.ZodArray<z.ZodObject<{
                title: z.ZodNullable<z.ZodString>;
                companyName: z.ZodNullable<z.ZodString>;
                startDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
                endDate: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
            }, "strip", z.ZodTypeAny, {
                title: string | null;
                companyName: string | null;
                startDate: string | number | null;
                endDate: string | number | null;
            }, {
                title: string | null;
                companyName: string | null;
                startDate: string | number | null;
                endDate: string | number | null;
            }>, "many">>;
            education: z.ZodNullable<z.ZodArray<z.ZodObject<{
                instituteName: z.ZodNullable<z.ZodString>;
                degreeName: z.ZodNullable<z.ZodString>;
                fieldOfStudy: z.ZodNullable<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                fieldOfStudy: string | null;
                instituteName: string | null;
                degreeName: string | null;
            }, {
                fieldOfStudy: string | null;
                instituteName: string | null;
                degreeName: string | null;
            }>, "many">>;
        }, "strip", z.ZodTypeAny, {
            title: string | null;
            name: string | null;
            summary: string | null;
            location: string | null;
            headline: string | null;
            seniorityLevel: string | null;
            linkedinUrl: string | null;
            skills: string[] | null;
            education: {
                fieldOfStudy: string | null;
                instituteName: string | null;
                degreeName: string | null;
            }[] | null;
            languages: string[] | null;
            emails: string[] | null;
            websites: string[] | null;
            profilePictureUrl: string | null;
            twitterHandle: string | null;
            yearsOfExperience: number | null;
            recentlyChangedJobs: boolean | null;
            locationCity: string | null;
            locationCountry: string | null;
            numConnections: number | null;
            currentEmployers: {
                title: string | null;
                companyName: string | null;
                companyLinkedinUrl: string | null;
                seniorityLevel: string | null;
                startDate: string | number | null;
                companyDomainUrl: string | null;
                functionCategory: string | null;
                yearsAtCompany: number | null;
                companyHeadcount: number | null;
                companyIndustries: string[] | null;
            }[] | null;
            pastEmployers: {
                title: string | null;
                companyName: string | null;
                startDate: string | number | null;
                endDate: string | number | null;
            }[] | null;
            enrichedWorkEmail?: string | null | undefined;
            enrichedPersonalEmail?: string | null | undefined;
            enrichedWorkEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
            enrichedPersonalEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
        }, {
            title: string | null;
            name: string | null;
            summary: string | null;
            location: string | null;
            headline: string | null;
            seniorityLevel: string | null;
            linkedinUrl: string | null;
            skills: string[] | null;
            education: {
                fieldOfStudy: string | null;
                instituteName: string | null;
                degreeName: string | null;
            }[] | null;
            languages: string[] | null;
            emails: string[] | null;
            websites: string[] | null;
            profilePictureUrl: string | null;
            twitterHandle: string | null;
            yearsOfExperience: number | null;
            recentlyChangedJobs: boolean | null;
            locationCity: string | null;
            locationCountry: string | null;
            numConnections: number | null;
            currentEmployers: {
                title: string | null;
                companyName: string | null;
                companyLinkedinUrl: string | null;
                seniorityLevel: string | null;
                startDate: string | number | null;
                companyDomainUrl: string | null;
                functionCategory: string | null;
                yearsAtCompany: number | null;
                companyHeadcount: number | null;
                companyIndustries: string[] | null;
            }[] | null;
            pastEmployers: {
                title: string | null;
                companyName: string | null;
                startDate: string | number | null;
                endDate: string | number | null;
            }[] | null;
            enrichedWorkEmail?: string | null | undefined;
            enrichedPersonalEmail?: string | null | undefined;
            enrichedWorkEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
            enrichedPersonalEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
        }>, "many">;
        totalCount: z.ZodNumber;
        nextCursor: z.ZodOptional<z.ZodString>;
        success: z.ZodBoolean;
        error: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        success: boolean;
        error: string;
        people: {
            title: string | null;
            name: string | null;
            summary: string | null;
            location: string | null;
            headline: string | null;
            seniorityLevel: string | null;
            linkedinUrl: string | null;
            skills: string[] | null;
            education: {
                fieldOfStudy: string | null;
                instituteName: string | null;
                degreeName: string | null;
            }[] | null;
            languages: string[] | null;
            emails: string[] | null;
            websites: string[] | null;
            profilePictureUrl: string | null;
            twitterHandle: string | null;
            yearsOfExperience: number | null;
            recentlyChangedJobs: boolean | null;
            locationCity: string | null;
            locationCountry: string | null;
            numConnections: number | null;
            currentEmployers: {
                title: string | null;
                companyName: string | null;
                companyLinkedinUrl: string | null;
                seniorityLevel: string | null;
                startDate: string | number | null;
                companyDomainUrl: string | null;
                functionCategory: string | null;
                yearsAtCompany: number | null;
                companyHeadcount: number | null;
                companyIndustries: string[] | null;
            }[] | null;
            pastEmployers: {
                title: string | null;
                companyName: string | null;
                startDate: string | number | null;
                endDate: string | number | null;
            }[] | null;
            enrichedWorkEmail?: string | null | undefined;
            enrichedPersonalEmail?: string | null | undefined;
            enrichedWorkEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
            enrichedPersonalEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
        }[];
        totalCount: number;
        nextCursor?: string | undefined;
    }, {
        success: boolean;
        error: string;
        people: {
            title: string | null;
            name: string | null;
            summary: string | null;
            location: string | null;
            headline: string | null;
            seniorityLevel: string | null;
            linkedinUrl: string | null;
            skills: string[] | null;
            education: {
                fieldOfStudy: string | null;
                instituteName: string | null;
                degreeName: string | null;
            }[] | null;
            languages: string[] | null;
            emails: string[] | null;
            websites: string[] | null;
            profilePictureUrl: string | null;
            twitterHandle: string | null;
            yearsOfExperience: number | null;
            recentlyChangedJobs: boolean | null;
            locationCity: string | null;
            locationCountry: string | null;
            numConnections: number | null;
            currentEmployers: {
                title: string | null;
                companyName: string | null;
                companyLinkedinUrl: string | null;
                seniorityLevel: string | null;
                startDate: string | number | null;
                companyDomainUrl: string | null;
                functionCategory: string | null;
                yearsAtCompany: number | null;
                companyHeadcount: number | null;
                companyIndustries: string[] | null;
            }[] | null;
            pastEmployers: {
                title: string | null;
                companyName: string | null;
                startDate: string | number | null;
                endDate: string | number | null;
            }[] | null;
            enrichedWorkEmail?: string | null | undefined;
            enrichedPersonalEmail?: string | null | undefined;
            enrichedWorkEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
            enrichedPersonalEmails?: {
                email: string;
                status?: string | undefined;
            }[] | null | undefined;
        }[];
        totalCount: number;
        nextCursor?: string | undefined;
    }>;
    static readonly shortDescription = "Comprehensive people search by company, title, location, skills, with optional email enrichment";
    static readonly longDescription: string;
    static readonly alias = "people";
    static readonly type = "tool";
    constructor(params?: PeopleSearchToolParamsInput, context?: BubbleContext);
    performAction(): Promise<PeopleSearchToolResult>;
    /**
     * Transform API profiles to simplified format
     */
    private transformProfiles;
    /**
     * Transform a single PersonDB profile to PersonResult format
     */
    private transformProfile;
    /**
     * Create an error result
     */
    private createErrorResult;
    /**
     * Enrich people with email data using FullEnrich
     * Batches requests and polls until completion
     */
    private enrichPeopleEmails;
    /**
     * Sleep helper for polling
     */
    private sleep;
}
export {};
//# sourceMappingURL=people-search-tool.d.ts.map