import type http from 'node:http';
import type Pug from 'pug';
import type { Plugin, Connect } from 'vite';
import type Picomatch from 'picomatch';
/**
 * 開発サーバー設定
 */
interface ServeSettings {
    /** Pugコンパイルオプション */
    readonly options?: Pug.Options;
    /** Pugローカル変数オブジェクト */
    readonly locals?: Pug.LocalsObject;
    /** 無視パターン（Pugファイル変換の除外用） */
    readonly ignorePattern?: Picomatch.Glob;
    /** リロード設定（現在は有効/無効制御のみ） */
    readonly reload?: boolean;
}
/**
 * Connectミドルウェア型定義
 */
export type Middleware = (req: Connect.IncomingMessage, res: http.ServerResponse, next: Connect.NextFunction) => void | http.ServerResponse | Promise<void | http.ServerResponse>;
/**
 * Vite用Pug開発サーバープラグイン
 * @param settings - サーブ設定
 * @returns Viteプラグイン
 */
export declare const vitePluginPugServe: (settings: ServeSettings) => Plugin;
export {};
//# sourceMappingURL=serve.d.ts.map