/**
 * Stub Frontier Provider
 *
 * A mock provider for development and testing.
 * Returns empty results with zero cost.
 *
 * Replace with real providers (Mythos, GPT-5.5-Cyber) when available.
 *
 * @module frontier/providers/stub
 */
/**
 * Stub provider that returns empty results
 */
export class StubFrontierProvider {
    name = "stub";
    displayName = "Stub Provider (Testing)";
    capabilities = [];
    async analyze(request) {
        // Simulate some processing time
        await new Promise((resolve) => setTimeout(resolve, 100));
        return {
            findings: [],
            exploitChains: [],
            confidence: 0,
            modelUsed: "stub",
            cost: {
                inputTokens: 0,
                outputTokens: 0,
                totalCost: 0,
                model: "stub",
            },
            reasoning: ["Stub provider - no real analysis performed"],
            duration: 100,
            filesAnalyzed: request.files.length,
            linesAnalyzed: request.files.reduce((sum, f) => sum + f.loc, 0),
            warnings: [
                "This is a stub provider for testing. Configure a real frontier model provider for actual analysis.",
            ],
        };
    }
    async isAvailable() {
        return true;
    }
    async estimateCost(_request) {
        return {
            min: 0,
            max: 0,
            estimated: 0,
            currency: "USD",
            factors: ["Stub provider has no cost"],
        };
    }
    async getStatus() {
        return {
            available: true,
            latencyMs: 1,
        };
    }
}
/**
 * Create a stub provider instance
 */
export function createStubProvider() {
    return new StubFrontierProvider();
}
//# sourceMappingURL=stub.js.map