/** * Ownership and permission rules for a directory Pioneer will write private material into. * * A directory is only as trustworthy as every ancestor above it: a private child under a * non-sticky group- or world-writable parent can be renamed away and replaced by another local * user, who then receives whatever the controller writes next and whatever its cleanup removes. * The walk therefore covers the whole chain, following both the resolved and the canonical path * so a symlinked ancestor cannot hide a replaceable one. */ export declare function isTrustedStickyApplicationDataParent(parentUid: number, childUid: number, currentUid: number): boolean; export declare function isTrustedApplicationDataOwner(ownerUid: number, currentUid: number): boolean; export declare function assertStableDirectoryChain(directory: string, platform: NodeJS.Platform, label: string): Promise; //# sourceMappingURL=stable-directory.d.ts.map