import { Context, FindConfig } from "@medusajs/framework/types";
import { MikroOrmBaseRepository } from "@medusajs/framework/utils";
type InjectedDependencies = {
    linkRepository: MikroOrmBaseRepository;
};
export default class LinkService<TEntity> {
    protected readonly linkRepository_: any;
    constructor({ linkRepository }: InjectedDependencies);
    list(filters?: unknown, config?: FindConfig<unknown>, sharedContext?: Context): Promise<TEntity[]>;
    listAndCount(filters?: {}, config?: FindConfig<unknown>, sharedContext?: Context): Promise<[TEntity[], number]>;
    create(data: unknown[], sharedContext?: Context): Promise<TEntity[]>;
    dismiss(data: unknown[], sharedContext?: Context): Promise<TEntity[]>;
    delete(data: unknown, sharedContext?: Context): Promise<void>;
    softDelete(data: any[], sharedContext?: Context): Promise<[object[], Record<string, string[]>]>;
    restore(data: any, sharedContext?: Context): Promise<[object[], Record<string, string[]>]>;
}
export {};
//# sourceMappingURL=link.d.ts.map