/** Which kernel counter `bytes` came from; `"rss"` means no footprint counter was readable. */
export type ProcessFootprintMeasure = "phys_footprint" | "rss_anon" | "private_usage" | "rss";
export interface ProcessFootprint {
    readonly bytes: number;
    readonly measure: ProcessFootprintMeasure;
}
/** The memory footprint of this process. Always answers: RSS when no footprint counter is readable. */
export declare function readOwnFootprint(): ProcessFootprint;
/**
 * The memory footprint of `pid`, or `undefined` when it cannot be read (the process is gone, is not
 * ours to inspect, or this runtime has no footprint counter). For this process's own pid on such a
 * runtime the answer is its RSS, labelled `measure: "rss"`.
 */
export declare function readProcessFootprint(pid: number): ProcessFootprint | undefined;
/** Anonymous resident memory in bytes from `/proc/<pid>/status` text, or `undefined` when absent. */
export declare function parseProcStatusRssAnon(status: string): number | undefined;
//# sourceMappingURL=process-footprint.d.ts.map