/** @packageDocumentation * @module iTwinServiceClients */ import { GuidString } from "@bentley/bentleyjs-core"; import { WsgInstance } from "../ECJsonTypeMap"; import { WsgClient } from "../WsgClient"; import { AuthorizedClientRequestContext } from "../AuthorizedClientRequestContext"; import { WsgQuery } from "../WsgQuery"; /** Folder * @alpha */ export declare class ProjectShareFolder extends WsgInstance { name?: string; contentType?: string; createdBy?: string; path?: string; createdTimeStamp?: string; modifiedBy?: string; modifiedTimeStamp?: string; parentFolderId?: string; size?: number; } /** File * @alpha */ export declare class ProjectShareFile extends WsgInstance { instanceId?: string; name?: string; contentType?: string; createdBy?: string; path?: string; createdTimeStamp?: string; modifiedBy?: string; modifiedTimeStamp?: string; parentFolderWsgId?: string; size?: number; /** * @note The accessUrl is only valid for one hour after it has been initialized by the server. */ accessUrl?: string; customProperties?: any; } /** Base query object for getting ProjectShare files and folders * @alpha */ export declare class ProjectShareQuery extends WsgQuery { /** * Query for children inside the specified folder * @param contextId Context Id (e.g., projectId or assetId) * @note This cannot be combined with other queries. */ inRootFolder(contextId: GuidString): this; /** * Query for children inside the specified folder * @param folderId Id of the folder * @note This cannot be combined with other queries. */ inFolder(folderId: GuidString): this; /** * Query for folders or files by ids * @param ids (Array of) folder or file ids */ byWsgIds(...ids: GuidString[]): this; /** * Query for children in the specified folder, and with a name that matches the specified expression * @param folderId Id of the folder to look in * @param nameLike Wild card expression to match the name of the file * @note *