import { ListAllInput, ListAllOutput, ListAllWithPathInput, ListAllWithPathOutput, ListPaginateInput, ListPaginateOutput, ListPaginateWithPathInput, ListPaginateWithPathOutput } from '../types'; /** * List files in pages with the given `path`. * `pageSize` is defaulted to 1000. Additionally, the result will include a `nextToken` if there are more items to retrieve. * @param input - The `ListPaginateWithPathInput` object. * @returns A list of objects with path and metadata * @throws service: `S3Exception` - S3 service errors thrown when checking for existence of bucket * @throws validation: `StorageValidationErrorCode` - thrown when there are issues with credentials */ export declare function list(input: ListPaginateWithPathInput): Promise; /** * List all files from S3 for a given `path`. You can set `listAll` to true in `options` to get all the files from S3. * @param input - The `ListAllWithPathInput` object. * @returns A list of all objects with path and metadata * @throws service: `S3Exception` - S3 service errors thrown when checking for existence of bucket * @throws validation: `StorageValidationErrorCode` - thrown when there are issues with credentials */ export declare function list(input: ListAllWithPathInput): Promise; /** * @deprecated The `prefix` and `accessLevel` parameters are deprecated and may be removed in the next major version. * Please use {@link https://docs.amplify.aws/react/build-a-backend/storage/list | path} instead. * List files in pages with the given `prefix`. * `pageSize` is defaulted to 1000. Additionally, the result will include a `nextToken` if there are more items to retrieve. * @param input - The `ListPaginateInput` object. * @returns A list of objects with key and metadata * @throws service: `S3Exception` - S3 service errors thrown when checking for existence of bucket * @throws validation: `StorageValidationErrorCode` - thrown when there are issues with credentials */ export declare function list(input?: ListPaginateInput): Promise; /** * @deprecated The `prefix` and `accessLevel` parameters are deprecated and may be removed in the next major version. * Please use {@link https://docs.amplify.aws/react/build-a-backend/storage/list | path} instead. * List all files from S3 for a given `prefix`. You can set `listAll` to true in `options` to get all the files from S3. * @param input - The `ListAllInput` object. * @returns A list of all objects with key and metadata * @throws service: `S3Exception` - S3 service errors thrown when checking for existence of bucket * @throws validation: `StorageValidationErrorCode` - thrown when there are issues with credentials */ export declare function list(input?: ListAllInput): Promise;