///
import { PolyfillBuffer } from '@polyfill-io-aot/core/src/PolyfillBuffer';
import * as EventEmitter from 'events';
import * as moment from 'moment';
import { Compression } from './Compression';
import { PolyfillCoreConfig } from './PolyfillCoreConfig';
/** Framework-agnostic polyfill consumer */
export declare class PolyfillIoAot extends EventEmitter {
/** Event name for when a polyfill bundle cannot be found */
static readonly POLYFILL_NOT_FOUND = "POLYFILL_IO_AOT_POLYFILL_NOT_FOUND";
/**
* Constructor
* @param cfg Partial polyfill configuration
*/
constructor(cfg?: Partial);
/** The lastModified value from the manifest */
readonly lastModified: string;
private readonly conf;
private readonly features;
private readonly lastModifiedAsMoment;
private readonly manifest;
/**
* Get the polyfills for the given compression level and user agent
* @param uaString User agent string
* @param [compression=Compression.NONE] Compression level
*/
getPolyfills(uaString: string, compression?: Compression): Promise;
/** Check whether the given ETag was bundled */
hasEtag(eTag: string): boolean;
/** Check whether the bundle has been modified since the given date */
modifiedSince(since: moment.MomentInput): boolean;
private generatePolyfills;
private onGetPolyfills;
private onHashFound;
}