import type { StorageManagementContext as Client } from "../index.js"; import type { FileShare, DeletedShare, LeaseShareResponse, _FileShareItems, FileShareItem } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { FileSharesListOptionalParams, FileSharesLeaseOptionalParams, FileSharesRestoreOptionalParams, FileSharesDeleteOptionalParams, FileSharesUpdateOptionalParams, FileSharesCreateOptionalParams, FileSharesGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; export declare function _listSend(context: Client, resourceGroupName: string, accountName: string, options?: FileSharesListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_FileShareItems>; /** Lists all shares. */ export declare function list(context: Client, resourceGroupName: string, accountName: string, options?: FileSharesListOptionalParams): PagedAsyncIterableIterator; export declare function _leaseSend(context: Client, resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesLeaseOptionalParams): StreamableMethod; export declare function _leaseDeserialize(result: PathUncheckedResponse): Promise; /** 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. */ export declare function lease(context: Client, resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesLeaseOptionalParams): Promise; export declare function _restoreSend(context: Client, resourceGroupName: string, accountName: string, shareName: string, deletedShare: DeletedShare, options?: FileSharesRestoreOptionalParams): StreamableMethod; export declare function _restoreDeserialize(result: PathUncheckedResponse): Promise; /** Restore a file share within a valid retention days if share soft delete is enabled */ export declare function restore(context: Client, resourceGroupName: string, accountName: string, shareName: string, deletedShare: DeletedShare, options?: FileSharesRestoreOptionalParams): Promise; export declare function _$deleteSend(context: Client, resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes specified share under its account. */ export declare function $delete(context: Client, resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesDeleteOptionalParams): Promise; export declare function _updateSend(context: Client, resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): 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. */ export declare function update(context: Client, resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesUpdateOptionalParams): Promise; export declare function _createSend(context: Client, resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesCreateOptionalParams): StreamableMethod; export declare function _createDeserialize(result: PathUncheckedResponse): 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. */ export declare function create(context: Client, resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesCreateOptionalParams): Promise; export declare function _getSend(context: Client, resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets properties of a specified share. */ export declare function get(context: Client, resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map