import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const TasksRepositoryReadinessRetrieveInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly refresh: Schema.optional<Schema.Boolean>;
    readonly repository: Schema.String;
    readonly window_days: Schema.optional<Schema.Number>;
}>;
export type TasksRepositoryReadinessRetrieveInput = typeof TasksRepositoryReadinessRetrieveInput.Type;
export declare const TasksRepositoryReadinessRetrieveOutput: Schema.Struct<{
    readonly repository: Schema.optional<Schema.String>;
    readonly classification: Schema.optional<Schema.String>;
    readonly excluded: Schema.optional<Schema.Boolean>;
    readonly coreSuggestions: Schema.optional<Schema.Struct<{
        readonly state: Schema.optional<Schema.Literals<readonly ["needs_setup", "detected", "waiting_for_data", "ready", "not_applicable", "unknown"]>>;
        readonly estimated: Schema.optional<Schema.Boolean>;
        readonly reason: Schema.optional<Schema.String>;
        readonly evidence: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    }>>;
    readonly replayInsights: Schema.optional<Schema.Struct<{
        readonly state: Schema.optional<Schema.Literals<readonly ["needs_setup", "detected", "waiting_for_data", "ready", "not_applicable", "unknown"]>>;
        readonly estimated: Schema.optional<Schema.Boolean>;
        readonly reason: Schema.optional<Schema.String>;
        readonly evidence: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    }>>;
    readonly errorInsights: Schema.optional<Schema.Struct<{
        readonly state: Schema.optional<Schema.Literals<readonly ["needs_setup", "detected", "waiting_for_data", "ready", "not_applicable", "unknown"]>>;
        readonly estimated: Schema.optional<Schema.Boolean>;
        readonly reason: Schema.optional<Schema.String>;
        readonly evidence: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    }>>;
    readonly overall: Schema.optional<Schema.String>;
    readonly evidenceTaskCount: Schema.optional<Schema.Number>;
    readonly windowDays: Schema.optional<Schema.Number>;
    readonly generatedAt: Schema.optional<Schema.String>;
    readonly cacheAgeSeconds: Schema.optional<Schema.Number>;
    readonly scan: Schema.optional<Schema.Struct<{
        readonly filesScanned: Schema.optional<Schema.Number>;
        readonly detectedFilesCount: Schema.optional<Schema.Number>;
        readonly eventNameCount: Schema.optional<Schema.Number>;
        readonly foundPosthogInit: Schema.optional<Schema.Boolean>;
        readonly foundPosthogCapture: Schema.optional<Schema.Boolean>;
        readonly foundErrorSignal: Schema.optional<Schema.Boolean>;
    }>>;
}>;
export type TasksRepositoryReadinessRetrieveOutput = typeof TasksRepositoryReadinessRetrieveOutput.Type;
/**
 * Get repository readiness
 *
 * Get autonomy readiness details for a specific repository in the current project.
 *
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 * @param repository - Repository in org/repo format
 */
export declare const tasksRepositoryReadinessRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly refresh?: boolean | undefined;
    readonly repository: string;
    readonly window_days?: number | undefined;
}, {
    readonly cacheAgeSeconds?: number | undefined;
    readonly classification?: string | undefined;
    readonly coreSuggestions?: {
        readonly estimated?: boolean | undefined;
        readonly evidence?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly reason?: string | undefined;
        readonly state?: "detected" | "needs_setup" | "not_applicable" | "ready" | "unknown" | "waiting_for_data" | undefined;
    } | undefined;
    readonly errorInsights?: {
        readonly estimated?: boolean | undefined;
        readonly evidence?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly reason?: string | undefined;
        readonly state?: "detected" | "needs_setup" | "not_applicable" | "ready" | "unknown" | "waiting_for_data" | undefined;
    } | undefined;
    readonly evidenceTaskCount?: number | undefined;
    readonly excluded?: boolean | undefined;
    readonly generatedAt?: string | undefined;
    readonly overall?: string | undefined;
    readonly replayInsights?: {
        readonly estimated?: boolean | undefined;
        readonly evidence?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly reason?: string | undefined;
        readonly state?: "detected" | "needs_setup" | "not_applicable" | "ready" | "unknown" | "waiting_for_data" | undefined;
    } | undefined;
    readonly repository?: string | undefined;
    readonly scan?: {
        readonly detectedFilesCount?: number | undefined;
        readonly eventNameCount?: number | undefined;
        readonly filesScanned?: number | undefined;
        readonly foundErrorSignal?: boolean | undefined;
        readonly foundPosthogCapture?: boolean | undefined;
        readonly foundPosthogInit?: boolean | undefined;
    } | undefined;
    readonly windowDays?: number | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=tasksRepositoryReadinessRetrieve.d.ts.map