import type { DepID } from '@vltpkg/dep-id'; import type EventEmitter from 'node:events'; export declare const __CODE_SPLIT_SCRIPT_NAME: string; export declare const version: string; /** * Serialized payload sent to the detached process via stdin. */ export type UpdateExpiredPayload = { /** Path to the sqlite database */ dbPath: string; /** Number of retries for fetching remote data */ retries: number; /** TTL in ms to use for new entries */ ttl: number; /** Expired entries to revalidate */ expired: ExpiredEntry[]; }; /** * Minimal serialized information for each expired entry. * Only carries what's needed for the API call + DB write. */ export type ExpiredEntry = { depID: DepID; name: string; version: string; }; /** * Main entrypoint for the detached process. * Reads a JSON payload from stdin, fetches updated security data, * and writes it back to the SQLite database. */ export declare const main: (input?: EventEmitter) => Promise;