import { LogInterface, Updater, Config, HostUtils, Trace, CreateConsoleServerOptions, LayoutConfig } from '@wingconsole/server';
export { Config, HostUtils, LogInterface, Trace, Updater, UpdaterStatus } from '@wingconsole/server';
import express from 'express';

interface CreateConsoleAppOptions {
    wingfile: string;
    log?: LogInterface;
    updater?: Updater;
    config?: Config;
    requestedPort?: number;
    hostUtils?: HostUtils;
    onTrace?: (trace: Trace) => void;
    expressApp?: express.Express;
    onExpressCreated?: CreateConsoleServerOptions["onExpressCreated"];
    requireAcceptTerms?: boolean;
    requireSignIn?: boolean;
    layoutConfig?: LayoutConfig;
    platform?: string[];
    stateDir?: string;
    open?: boolean;
    watchGlobs?: string[];
    getEndpointWarningAccepted?: boolean;
    notifyEndpointWarningAccepted?: () => void;
}
declare const createConsoleApp: (options: CreateConsoleAppOptions) => Promise<{
    port: number;
    close: (callback?: () => void) => Promise<void>;
}>;

export { type CreateConsoleAppOptions, createConsoleApp };
