import { z } from "zod"; import type { StorageClient } from "../storage/client.js"; export declare const stalePagesInputSchema: z.ZodObject<{ olderThanDays: z.ZodDefault; limit: z.ZodDefault; }, "strip", z.ZodTypeAny, { limit: number; olderThanDays: number; }, { limit?: number | undefined; olderThanDays?: number | undefined; }>; export type StalePagesInput = z.infer; export interface StalePageRow { name: string; modified: string; ageDays: number; signalCount: number; sizeBytes: number; } export interface StalePagesResult { ok: boolean; signalsAvailable: boolean; staleCount: number; stale: StalePageRow[]; message: string; } /** * Read-only cold-page report (GH #497 milestone 1). Surfaces pages that are * both old (modified before the cutoff) and cold (zero * search_relevance_signals rows for the caller since that cutoff). Does not * write, delete, or archive anything — a human or agent decides what to do * with the result. * * This is meant to be asked for, not volunteered: "untouched" is not the * same as "abandoned" in a reference wiki, so this is intentionally not * surfaced automatically (e.g. proactively flagged in the weekly digest — * see GH #796). Call it on demand when staleness is actually the question. */ export declare function stalePages(drive: StorageClient, input: StalePagesInput, userId?: string): Promise; //# sourceMappingURL=stalePages.d.ts.map