/** * Shared helpers for managed resource routes (Wave S1). */ import { isFtpHomeAllowed, type CollectionKey } from 'ysk-server-core'; /** Never return secrets to the panel list/detail API. */ export declare function redactResourceSecrets(key: CollectionKey, row: Record): Record; /** Hash FTP plaintext on write so plain is never stored long-term. */ export declare function normalizeFtpPasswordFields(data: Record): Record; /** Drop FTP jail paths that are not under dataDir/ftps/homes or a project home. */ export declare function clampFtpHomePath(data: Record, dataDir: string, db: Parameters[1]): Record; export declare const RESOURCE_COLLECTIONS: Record; export declare function parseResourceCollection(pathname: string): { key: CollectionKey | null; id: string | null; action: string | null; prefix: string | null; }; //# sourceMappingURL=resources-shared.d.ts.map