import fs from "node:fs"; export type PinnedOpenSyncFailureReason = "path" | "validation" | "io"; export type PinnedOpenSyncResult = { ok: true; path: string; fd: number; stat: fs.Stats; } | { ok: false; reason: PinnedOpenSyncFailureReason; error?: unknown; }; export type PinnedOpenSyncAllowedType = "file" | "directory"; export type PinnedOpenSyncFs = Pick; export declare function openPinnedFileSync(params: { filePath: string; resolvedPath?: string; rejectPathSymlink?: boolean; rejectHardlinks?: boolean; maxBytes?: number; allowedType?: PinnedOpenSyncAllowedType; ioFs?: PinnedOpenSyncFs; }): PinnedOpenSyncResult; //# sourceMappingURL=pinned-open.d.ts.map