/** * Palantir Foundry Filesystem API. * Folders, resources, and spaces. * * Base paths: * - Folders: /api/v2/filesystem/folders/ * - Resources: /api/v2/filesystem/resources/ * - Spaces: /api/v2/filesystem/spaces * * All filesystem endpoints require preview=true query parameter. * Folder children use /children endpoint (NOT /contents). * Resource lookup by path uses /getByPath endpoint. * * @see https://www.palantir.com/docs/foundry/api/v2/filesystem-v2-resources/ */ import type { PalantirClient } from "./client.js"; import type { Folder, Resource, CreateFolderParams, PageResponse, PageParams } from "./types.js"; /** A Foundry space (project or space). */ export interface Space { rid: string; displayName?: string; description?: string; spaceType?: string; } export declare class FilesystemNamespace { private client; constructor(client: PalantirClient); /** Get a folder by RID. */ getFolder(folderRid: string): Promise; /** Create a folder. */ createFolder(params: CreateFolderParams): Promise; /** List children of a folder. */ listFolderChildren(folderRid: string, params?: PageParams): Promise>; /** Get a resource by RID. */ getResource(resourceRid: string): Promise; /** Get a resource by its full path. */ getResourceByPath(path: string, params?: { domainTag?: string; }): Promise; /** Delete a resource. */ deleteResource(resourceRid: string): Promise; /** List spaces (projects). */ listSpaces(params?: PageParams): Promise>; } //# sourceMappingURL=filesystem.d.ts.map