import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Field to sort by. Defaults to created_at (newest first).
 */
export declare const SortBy: {
    readonly CreatedAt: "created_at";
    readonly UpdatedAt: "updated_at";
    readonly DisplayName: "display_name";
};
/**
 * Field to sort by. Defaults to created_at (newest first).
 */
export type SortBy = ClosedEnum<typeof SortBy>;
export type GuardrailRuleListRequest = {
    limit?: number | undefined;
    /**
     * A cursor for use in pagination.
     */
    startingAfter?: string | undefined;
    /**
     * A cursor for use in pagination.
     */
    endingBefore?: string | undefined;
    /**
     * Optional filter by project ID.
     */
    projectId?: string | undefined;
    /**
     * Filter by display name or description (case-insensitive).
     */
    search?: string | undefined;
    /**
     * Field to sort by. Defaults to created_at (newest first).
     */
    sortBy?: SortBy | undefined;
    /**
     * Filter by enabled status.
     */
    enabled?: boolean | null | undefined;
    /**
     * Filter by referenced guardrail ids (comma-separated).
     */
    guardrailId?: Array<string> | null | undefined;
};
/**
 * Guardrail rules retrieved successfully
 */
export type GuardrailRuleListResponseBody = {
    data: Array<components.GuardrailRule> | null;
    hasMore: boolean;
    object: string;
};
/** @internal */
export declare const SortBy$outboundSchema: z.ZodNativeEnum<typeof SortBy>;
/** @internal */
export type GuardrailRuleListRequest$Outbound = {
    limit: number;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
    project_id?: string | undefined;
    search?: string | undefined;
    sort_by?: string | undefined;
    enabled?: boolean | null | undefined;
    guardrail_id?: Array<string> | null | undefined;
};
/** @internal */
export declare const GuardrailRuleListRequest$outboundSchema: z.ZodType<GuardrailRuleListRequest$Outbound, z.ZodTypeDef, GuardrailRuleListRequest>;
export declare function guardrailRuleListRequestToJSON(guardrailRuleListRequest: GuardrailRuleListRequest): string;
/** @internal */
export declare const GuardrailRuleListResponseBody$inboundSchema: z.ZodType<GuardrailRuleListResponseBody, z.ZodTypeDef, unknown>;
export declare function guardrailRuleListResponseBodyFromJSON(jsonString: string): SafeParseResult<GuardrailRuleListResponseBody, SDKValidationError>;
//# sourceMappingURL=guardrailrulelist.d.ts.map