import type { FmFile } from "../shared/types.js"; import type { FmListMeta } from "@webiny/sdk"; export interface IListFilesGateway { execute(params: ListFilesGatewayParams): Promise; } export interface ListFilesGatewayParams { search?: string; where?: Record; sort?: string[]; limit?: number; after?: string; } export interface ListFilesGatewayResult { data: FmFile[]; meta: FmListMeta; } export declare const ListFilesGateway: import("@webiny/di").Abstraction; export declare namespace ListFilesGateway { type Interface = IListFilesGateway; } export interface IListFilesRepository { execute(params: ListFilesGatewayParams): Promise; } export declare const ListFilesRepository: import("@webiny/di").Abstraction; export declare namespace ListFilesRepository { type Interface = IListFilesRepository; } export interface ListFilesUseCaseParams { search?: string; where?: Record; sort?: string[]; limit?: number; after?: string; } export interface ListFilesUseCaseResult { data: FmFile[]; meta: FmListMeta; } export interface IListFilesUseCase { execute(params: ListFilesUseCaseParams): Promise; } export declare const ListFilesUseCase: import("@webiny/di").Abstraction; export declare namespace ListFilesUseCase { type Interface = IListFilesUseCase; }