import { PostHogNextConfigComplete } from './config';
type NextRuntime = 'edge' | 'nodejs' | undefined;
export declare class SourcemapWebpackPlugin {
    private posthogOptions;
    private isServer;
    private nextRuntime;
    directory: string;
    constructor(posthogOptions: PostHogNextConfigComplete, isServer: boolean, nextRuntime: NextRuntime, distDir?: string);
    apply(compiler: any): void;
    runInject(): Promise<void>;
    runUpload(): Promise<void>;
}
export {};
