.
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
import type { Project } from '../../../build/swc/types';
|
||||
import { type MappingContext } from './source-map';
|
||||
import { type ServerLogEntry } from '../../../next-devtools/shared/forward-logs-shared';
|
||||
export declare function restoreUndefined(x: any): any;
|
||||
export declare function stripFormatSpecifiers(args: any[]): any[];
|
||||
type BrowserLogConfig = boolean | 'error' | 'warn';
|
||||
export declare function handleLog(entries: ServerLogEntry[], ctx: MappingContext, distDir: string, config: BrowserLogConfig): Promise<void>;
|
||||
export declare function receiveBrowserLogsWebpack(opts: {
|
||||
entries: ServerLogEntry[];
|
||||
router: 'app' | 'pages';
|
||||
sourceType?: 'server' | 'edge-server';
|
||||
clientStats: () => any;
|
||||
serverStats: () => any;
|
||||
edgeServerStats: () => any;
|
||||
rootDirectory: string;
|
||||
distDir: string;
|
||||
config: BrowserLogConfig;
|
||||
}): Promise<void>;
|
||||
export declare function receiveBrowserLogsTurbopack(opts: {
|
||||
entries: ServerLogEntry[];
|
||||
router: 'app' | 'pages';
|
||||
sourceType?: 'server' | 'edge-server';
|
||||
project: Project;
|
||||
projectPath: string;
|
||||
distDir: string;
|
||||
config: BrowserLogConfig;
|
||||
}): Promise<void>;
|
||||
export declare function handleClientFileLogs(logs: Array<{
|
||||
timestamp: string;
|
||||
level: string;
|
||||
message: string;
|
||||
}>): Promise<void>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user