import type { Plugin } from '@web/dev-server-core';
import type { DevServerConfig } from '@web/dev-server';
import type { InjectSetting } from '@web/dev-server-import-maps/dist/importMapsPlugin';
import type { LitCSSOptions } from 'web-dev-server-plugin-lit-css';
import type { PfeConfig } from './config.js';
declare type Base = (DevServerConfig & PfeConfig);
export interface PfeDevServerConfigOptions extends Base {
    hostname?: string;
    importMap?: InjectSetting['importMap'];
    litcssOptions?: LitCSSOptions;
    tsconfig?: string;
    /** Extra dev server plugins */
    loadDemo?: boolean;
    plugins?: Plugin[];
    watchFiles?: string;
}
declare type PfeDevServerInternalConfig = Required<PfeDevServerConfigOptions> & {
    site: Required<PfeConfig['site']>;
};
/**
 * Resolves local monorepo package imports. Needed because we consume our own monorepo packages
 */
export declare function resolveLocalFilesFromTypeScriptSources(options: PfeDevServerInternalConfig): Plugin;
/**
 * Creates a default config for PFE's dev server.
 */
export declare function pfeDevServerConfig(options?: PfeDevServerConfigOptions): DevServerConfig;
export {};
