import { Filelink } from 'filestack-js'; import { Nullable } from '..'; export default class FileLinkClientService { private readonly client; private readonly effect?; private readonly noImagesScaling?; constructor({ url, imageEffect, noImagesScaling, }: { url: string; imageEffect?: Nullable; noImagesScaling?: boolean; }); autoImage: () => this; noMetadata: () => this; compress: () => this; resize: (params: { width?: number; height?: number; }) => this; reset: () => this; toString: () => string; applyEffect: () => this; getClient: () => Filelink; }