UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

14 lines (13 loc) 476 B
export interface IsPathFolderParams { s3Config: any; bucket: string; key: string; expectedBucketOwner?: string; } /** * Determines if a given S3 key represents a folder by checking if objects exist with that prefix. * * @param params - Configuration object for the folder check * @returns Promise that resolves to true if the key represents a folder, false otherwise */ export declare const isPathFolder: (params: IsPathFolderParams) => Promise<boolean>;