import Shopify from "shopify-api-node";
import { ThemeManager } from "./theme-manager.js";
interface DevServerOptions {
    port: number;
    themeDir: string;
    shopify: Shopify;
    themeManager: ThemeManager;
    credentials: {
        storeName: string;
        apiKey: string;
        password: string;
    };
    themeId: number;
    debug?: boolean;
}
/**
 * A simple development server for Shopify themes
 * Provides a UI for browsing theme files and previewing them
 */
export declare class SimpleDevServer {
    private app;
    private renderer;
    private themeDir;
    private port;
    private server;
    private themeAPI;
    private themeManager;
    private credentials;
    private themeId;
    private themeChecker;
    private devUIHtml;
    private devUIStyles;
    private errorPageTemplate;
    private debug;
    constructor(options: DevServerOptions);
    private configureMiddleware;
    private configureRoutes;
    private configureErrorHandling;
    private logError;
    private handleError;
    /**
     * Starts the development server
     * @returns Promise that resolves with the server URL
     */
    start(): Promise<string>;
    /**
     * Stops the development server
     */
    stop(): void;
}
export {};
