bpms_site/.svn/pristine/5f/5f674a1d3d39248fe0c140fcf3a35f14c57913c7.svn-base
2025-11-02 16:38:49 +03:30

21 lines
778 B
Plaintext

import type { webpack } from 'next/dist/compiled/webpack/webpack';
export declare function startedDevelopmentServer(appUrl: string, bindAddr: string): void;
type AmpStatus = {
message: string;
line: number;
col: number;
specUrl: string | null;
code: string;
};
export type AmpPageStatus = {
[page: string]: {
errors: AmpStatus[];
warnings: AmpStatus[];
};
};
export declare function formatAmpMessages(amp: AmpPageStatus): string;
export declare function ampValidation(page: string, errors: AmpStatus[], warnings: AmpStatus[]): void;
export declare function watchCompilers(client: webpack.Compiler, server: webpack.Compiler, edgeServer: webpack.Compiler): void;
export declare function reportTrigger(trigger: string): void;
export {};