import type { DevBuildOptions } from "./general.types"; import { Dict } from '@giveback007/util-lib'; export declare function devBrowser(opts: DevBuildOptions & { /** List of js/ts/etc.. extensions to watch for changes. This will build and reload the browser. * * Default: `['tsx', 'ts', 'js', 'jsx', 'json']`. Specifying this replaces the defaults completely. */ jsExts?: string[]; /** List of css extensions to watch for changes. This will only build css files and hot-reload * them without refreshing the browser. * * Default: `['sass', 'scss', 'css']`. Specifying this replaces the defaults completely. */ cssExts?: string[]; /** Localhost port for dev server. Eg `3000` -> `http://localhost:3000/` * * Default: `3000`. */ port?: number; /** Options for adding environment variables */ env?: { /** .env files to add */ envFile?: string | string[]; /** can define variables here: eg: { isDev: true } -> globalThis.isDev === true */ define?: Dict; }; }): Promise;