import { type Logger } from "@infersec/logger";
import { ModelManager } from "../modelManagement/ModelManager.js";
import { ConduitStateManager } from "../state/ConduitStateManager.js";
interface CreateConduitGeneralAPIReferenceHandlersOptions {
    cycleEngine: () => Promise<void>;
    conduitStateManager: ConduitStateManager;
    getModelManager: () => ModelManager;
    logger: Logger;
    setErrorState: ({ error }: {
        error: string;
    }) => void;
    startEngine: () => Promise<void>;
    stopEngine: ({ reason }: {
        reason: string;
    }) => Promise<void>;
    stopRequestedByControl: () => boolean;
}
export declare function createConduitGeneralAPIReferenceHandlers({ cycleEngine, conduitStateManager, getModelManager, logger, setErrorState, startEngine, stopEngine, stopRequestedByControl }: CreateConduitGeneralAPIReferenceHandlersOptions): {
    "/conduit/engine/start": {
        POST: () => Promise<{
            status: number;
            statusText: string;
            body?: undefined;
        } | {
            body: {
                acknowledged: true;
            };
            status: number;
            statusText?: undefined;
        }>;
    };
    "/conduit/engine/stop": {
        POST: () => Promise<{
            status: number;
            statusText: string;
            body?: undefined;
        } | {
            body: {
                acknowledged: true;
            };
            status: number;
            statusText?: undefined;
        }>;
    };
    "/conduit/engine/cycle": {
        POST: () => Promise<{
            status: number;
            statusText: string;
            body?: undefined;
        } | {
            body: {
                acknowledged: true;
            };
            status: number;
            statusText?: undefined;
        }>;
    };
};
export declare function createPostCycleEngineHandler(options: CreateConduitGeneralAPIReferenceHandlersOptions): () => Promise<{
    status: number;
    statusText: string;
    body?: undefined;
} | {
    body: {
        acknowledged: true;
    };
    status: number;
    statusText?: undefined;
}>;
export declare function createPostStartEngineHandler(options: CreateConduitGeneralAPIReferenceHandlersOptions): () => Promise<{
    status: number;
    statusText: string;
    body?: undefined;
} | {
    body: {
        acknowledged: true;
    };
    status: number;
    statusText?: undefined;
}>;
export declare function createPostStopEngineHandler(options: CreateConduitGeneralAPIReferenceHandlersOptions): () => Promise<{
    status: number;
    statusText: string;
    body?: undefined;
} | {
    body: {
        acknowledged: true;
    };
    status: number;
    statusText?: undefined;
}>;
export {};
