import { DirectoryCreateOptionalParams, DirectoryCreateResponse, DirectoryGetPropertiesOptionalParams, DirectoryGetPropertiesResponse, DirectoryDeleteOptionalParams, DirectoryDeleteResponse, DirectorySetPropertiesOptionalParams, DirectorySetPropertiesResponse, DirectorySetMetadataOptionalParams, DirectorySetMetadataResponse, DirectoryListFilesAndDirectoriesSegmentOptionalParams, DirectoryListFilesAndDirectoriesSegmentResponse, DirectoryListHandlesOptionalParams, DirectoryListHandlesResponse, DirectoryForceCloseHandlesOptionalParams, DirectoryForceCloseHandlesResponse, DirectoryRenameOptionalParams, DirectoryRenameResponse } from "../models/index.js"; /** Interface representing a Directory. */ export interface Directory { /** * Creates a new directory under the specified share or parent directory. * @param options The options parameters. */ create(options?: DirectoryCreateOptionalParams): Promise; /** * Returns all system properties for the specified directory, and can also be used to check the * existence of a directory. The data returned does not include the files in the directory or any * subdirectories. * @param options The options parameters. */ getProperties(options?: DirectoryGetPropertiesOptionalParams): Promise; /** * Removes the specified empty directory. Note that the directory must be empty before it can be * deleted. * @param options The options parameters. */ delete(options?: DirectoryDeleteOptionalParams): Promise; /** * Sets properties on the directory. * @param options The options parameters. */ setProperties(options?: DirectorySetPropertiesOptionalParams): Promise; /** * Updates user defined metadata for the specified directory. * @param options The options parameters. */ setMetadata(options?: DirectorySetMetadataOptionalParams): Promise; /** * Returns a list of files or directories under the specified share or directory. It lists the contents * only for a single level of the directory hierarchy. * @param options The options parameters. */ listFilesAndDirectoriesSegment(options?: DirectoryListFilesAndDirectoriesSegmentOptionalParams): Promise; /** * Lists handles for directory. * @param options The options parameters. */ listHandles(options?: DirectoryListHandlesOptionalParams): Promise; /** * Closes all handles open for given directory. * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is * a wildcard that specifies all handles. * @param options The options parameters. */ forceCloseHandles(handleId: string, options?: DirectoryForceCloseHandlesOptionalParams): Promise; /** * Renames a directory * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length. * @param options The options parameters. */ rename(renameSource: string, options?: DirectoryRenameOptionalParams): Promise; } //# sourceMappingURL=directory.d.ts.map