import type { StorageManagementContext } from "../../api/storageManagementContext.js"; import type { FileSharesListOptionalParams, FileSharesLeaseOptionalParams, FileSharesRestoreOptionalParams, FileSharesDeleteOptionalParams, FileSharesUpdateOptionalParams, FileSharesCreateOptionalParams, FileSharesGetOptionalParams } from "../../api/fileShares/options.js"; import type { FileShare, DeletedShare, LeaseShareResponse, FileShareItem } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; /** Interface representing a FileShares operations. */ export interface FileSharesOperations { /** Lists all shares. */ list: (resourceGroupName: string, accountName: string, options?: FileSharesListOptionalParams) => PagedAsyncIterableIterator; /** The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. */ lease: (resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesLeaseOptionalParams) => Promise; /** Restore a file share within a valid retention days if share soft delete is enabled */ restore: (resourceGroupName: string, accountName: string, shareName: string, deletedShare: DeletedShare, options?: FileSharesRestoreOptionalParams) => Promise; /** Deletes specified share under its account. */ delete: (resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesDeleteOptionalParams) => Promise; /** Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. */ update: (resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesUpdateOptionalParams) => Promise; /** Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. */ create: (resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesCreateOptionalParams) => Promise; /** Gets properties of a specified share. */ get: (resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesGetOptionalParams) => Promise; } export declare function _getFileSharesOperations(context: StorageManagementContext): FileSharesOperations; //# sourceMappingURL=index.d.ts.map