UNPKG

@makolabs/ripple

Version:

Simple Svelte 5 powered component library ✨

22 lines (21 loc) 749 B
import type { FileItem, FileListResult } from './types.js'; import { BaseAdapter } from './BaseAdapter.js'; /** * S3 storage adapter for the FileBrowser component */ export declare class S3Adapter extends BaseAdapter { private basePath; constructor(basePath?: string, publicS3BasePath?: string); getName(): string; isConfigured(): Promise<boolean>; authenticate(): Promise<boolean>; setReopenFlag(): void; shouldReopenBrowser(): boolean; clearReopenFlag(): void; list(path: string, searchQuery?: string): Promise<FileListResult>; download(file: FileItem): Promise<string>; private removeFileExtensions; private createBreadcrumbs; private extractFolderName; protected getApiPath(): string; }