import type { PluginBuild } from 'esbuild';
export type RebuildOptions = {
    label: string;
    buildStart: () => void | Promise<void>;
    buildEnd: () => void | Promise<void>;
    rebuildEnd: () => void | Promise<void>;
    rebuildStart: () => void | Promise<void>;
};
export declare const OnRebuild: (onRebuildOptions: RebuildOptions) => {
    name: string;
    setup: (build: PluginBuild) => void;
};
//# sourceMappingURL=on-rebuild.d.ts.map