import type { Hono } from "hono"; import type { ApiRouteDeps } from "@opengeni/core"; export declare function registerFileRoutes(app: Hono, deps: ApiRouteDeps): void; export declare function sanitizeFilename(filename: string): string; /** Human and stable service grants already carry their immutable subject. * Agent tokens carry only a technical worker subject, so resolve the exact * live attempt and use the initiating human frozen on its durable turn. */ export declare function fileAuthoritySubjectIdForGrant(deps: Pick, grant: import("@opengeni/contracts").AccessGrant): Promise;