import { default as Tinypng, ITinypngOption } from './tinypng';
export interface IWebpackModule {
    dependencies: any[];
    context: string;
    request: string;
    userRequest: string;
    rawRequest: string;
    resource: string;
    fileDependencies: any[];
    assets: any;
    cacheable: boolean;
}
export declare type IFilter = (m: IWebpackModule) => boolean;
export interface ITinypngWebpackOption extends ITinypngOption {
    filter?: IFilter;
    quiet?: boolean;
}
export default class TinypngWebpackPlugin {
    options: ITinypngWebpackOption;
    tp: Tinypng;
    filter: IFilter;
    constructor(options: ITinypngWebpackOption);
    apply(compiler: any): void;
}
