import { LoggerImplement } from "@iflyrpa/share"; import type { CreateAxiosDefaults } from "axios"; import { z } from "zod"; import { SearchAccountInfoResponse } from "./actions/searchAccountInfo/types"; declare module "axios" { interface AxiosRequestConfig { defaultErrorMsg?: string; } } export declare const ActionParamsSchema: z.ZodObject<{ id: z.ZodOptional; userAgent: z.ZodOptional; viewport: z.ZodNullable>>; }, z.core.$strip>; export declare const ActionCommonParamsSchema: z.ZodObject<{ id: z.ZodOptional; userAgent: z.ZodOptional; viewport: z.ZodNullable>>; url: z.ZodOptional; cookies: z.ZodArray; path: z.ZodOptional; expires: z.ZodOptional; httpOnly: z.ZodOptional; secure: z.ZodOptional; }, z.core.$catchall>>; localStorage: z.ZodOptional>>>; extraParam: z.ZodOptional; actionType: z.ZodOptional>; accountId: z.ZodOptional; proxyLoc: z.ZodOptional>; localIP: z.ZodOptional; huiwenToken: z.ZodOptional; articleId: z.ZodOptional; saveType: z.ZodOptional; uid: z.ZodOptional; }, z.core.$strip>; export type ActiomCommonParams = z.infer; export type AxiosProxyParams = [ CreateAxiosDefaults, LoggerImplement?, (string | null)?, number?, string? ]; export declare enum ExecutionState { RUNNING = "RUNNING", SCAN_WAITING = "SCAN_WAITING", SCANNED = "SCANNED", CONFIRMED = "CONFIRMED", SUCCESS = "SUCCESS", TIMEOUT = "TIMEOUT", BROWSER_CLOSED = "BROWSER_CLOSED", FAILED = "FAILED" } export interface FansDetail { following: number | null; fans_count: number | null; digg_count: number | null; description: string; } export declare namespace Weixin { interface FansCount extends FansDetail { } interface WeiXinCropResult { cdnurl: string; file_id: number; width: number; height: number; } } export declare namespace BaiJiaHao { interface FansCount extends FansDetail { } } export declare namespace Toutiao { interface FansCount extends FansDetail { } interface Topic { concern_id: string; id: string; talk_count: string; talk_count_str: string; type: number; word: string; } interface SuggestWords { user_id: number; name: string; avatar_url: string; followers_count: number; } interface CityPoi { position: string; city: string; longitude: number; latitude: number; type_code: string; poi_id: string; } interface CityDistrict { gps_location: { city_name: string; city_code: string; district_name: string; district_code: string; }; } interface UserRight { benefit_list: Array; describe: string; fans_num_threshold: number; level: number; type: number; } interface ImageData { image_url: string; image_uri: string; image_width: string; image_height: string; image_type: string; image_mime_type: string; } } export declare namespace Xiaohongshu { interface FansCount extends FansDetail { } interface Topic { id?: string; name: string; type: string; link?: string; } interface Location { address: string; city_name: string; full_address: string; latitude: number; longitude: number; name: string; poi_id: string; poi_type: number; type: string; } } export declare const errorResponse: (message: string, code?: number) => SearchAccountInfoResponse; export declare const MockPublish = false; export declare const DisabledReq = false;