import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const VisualReviewRunsListInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly limit: Schema.optional<Schema.Number>;
    readonly offset: Schema.optional<Schema.Number>;
    readonly review_state: Schema.optional<Schema.String>;
}>;
export type VisualReviewRunsListInput = typeof VisualReviewRunsListInput.Type;
export declare const VisualReviewRunsListOutput: Schema.Struct<{
    readonly count: Schema.optional<Schema.Number>;
    readonly next: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly previous: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly results: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly approved_by: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly first_name: Schema.optional<Schema.String>;
            readonly email: Schema.optional<Schema.String>;
        }>>>;
        readonly id: Schema.optional<Schema.String>;
        readonly repo_id: Schema.optional<Schema.String>;
        readonly status: Schema.optional<Schema.String>;
        readonly run_type: Schema.optional<Schema.String>;
        readonly commit_sha: Schema.optional<Schema.String>;
        readonly branch: Schema.optional<Schema.String>;
        readonly pr_number: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly approved: Schema.optional<Schema.Boolean>;
        readonly approved_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly summary: Schema.optional<Schema.Struct<{
            readonly total: Schema.optional<Schema.Number>;
            readonly changed: Schema.optional<Schema.Number>;
            readonly new: Schema.optional<Schema.Number>;
            readonly removed: Schema.optional<Schema.Number>;
            readonly unchanged: Schema.optional<Schema.Number>;
            readonly unresolved: Schema.optional<Schema.Number>;
            readonly tolerated_matched: Schema.optional<Schema.Number>;
        }>>;
        readonly error_message: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly completed_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly is_stale: Schema.optional<Schema.Boolean>;
        readonly superseded_by_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    }>>>;
}>;
export type VisualReviewRunsListOutput = typeof VisualReviewRunsListOutput.Type;
/**
 * List runs for the team, optionally filtered by review state.
 *
 * @param limit - Number of results to return per page.
 * @param offset - The initial index from which to return the results.
 * @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 review_state - Filter by review state
 */
export declare const visualReviewRunsList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly limit?: number | undefined;
    readonly offset?: number | undefined;
    readonly review_state?: string | undefined;
}, {
    readonly count?: number | undefined;
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly approved_by?: {
            readonly id?: number | undefined;
            readonly first_name?: string | undefined;
            readonly email?: string | undefined;
        } | null | undefined;
        readonly id?: string | undefined;
        readonly repo_id?: string | undefined;
        readonly status?: string | undefined;
        readonly run_type?: string | undefined;
        readonly commit_sha?: string | undefined;
        readonly branch?: string | undefined;
        readonly pr_number?: number | null | undefined;
        readonly approved?: boolean | undefined;
        readonly approved_at?: string | null | undefined;
        readonly summary?: {
            readonly total?: number | undefined;
            readonly changed?: number | undefined;
            readonly new?: number | undefined;
            readonly removed?: number | undefined;
            readonly unchanged?: number | undefined;
            readonly unresolved?: number | undefined;
            readonly tolerated_matched?: number | undefined;
        } | undefined;
        readonly error_message?: string | null | undefined;
        readonly created_at?: string | undefined;
        readonly completed_at?: string | null | undefined;
        readonly is_stale?: boolean | undefined;
        readonly superseded_by_id?: string | null | undefined;
        readonly metadata?: {
            readonly [x: string]: unknown;
        } | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=visualReviewRunsList.d.ts.map