/** * 猎聘人才搜索命令 - 招聘者端 */ import { Page } from 'puppeteer-core'; export interface SearchOptions { query: string; city?: string; experience?: string; salary?: string; degree?: string; industry?: string; 'user-status'?: string; age?: string; page?: number; limit?: number; } /** 求职状态码表(2026-07 实测,8 及以上服务端返回 0 召回;见 issue #10) */ export declare const USER_STATUS_CODES: Record; /** 校验并规范化求职状态:逗号多选,如 "1,2,7";空串表示不限 */ export declare function resolveUserStatus(value: string): string; /** 校验并规范化年龄区间:"低,高"(如 "25,35");空串表示不限 */ export declare function resolveAgeRange(value: string): string; /** 构建招聘者端人才搜索请求体 */ export declare function buildSearchBody(params: { city?: string; key?: string; currentPage?: number; workYearCode?: string; eduLevel?: string; industry?: string; salaryLow?: string; salaryHigh?: string; userStatus?: string; age?: string; }): string; /** 映射候选人卡片 */ export declare function mapJobCard(item: any, rank: number): { rank: number; name: any; title: any; salary: any; city: any; experience: any; degree: any; company: any; current_title: any; school: any; age: any; active_status: any; resume_id: string; user_id: string; im_id: string; url: any; }; export declare function search(page: Page, options: SearchOptions): Promise; /** 搜索结果列定义 */ export declare const SEARCH_COLUMNS: { header: string; key: string; width: number; }[]; /** 搜索命令定义 */ export declare const searchCommand: { name: string; description: string; args: ({ name: string; type: string; required: boolean; positional: boolean; help: string; default?: undefined; } | { name: string; type: string; default: string; help: string; required?: undefined; positional?: undefined; } | { name: string; type: string; default: number; help: string; required?: undefined; positional?: undefined; })[]; columns: { header: string; key: string; width: number; }[]; func: typeof search; }; //# sourceMappingURL=search.d.ts.map