export interface PydanticField {
    name: string;
    type: string;
    optional: boolean;
    default?: string;
    /** Inline validators/constraints: Field(min_length=3), Field(gt=0), etc. */
    constraints: string[];
    /** Other Pydantic models this field references (for graph edges) */
    references: string[];
}
export interface PydanticModel {
    name: string;
    file: string;
    line: number;
    /** Parent class — BaseModel, GenericModel, own custom base, etc. */
    base: string;
    /** Model config overrides (strict mode, extra="forbid", etc.) */
    config: Record<string, string>;
    fields: PydanticField[];
    /** Validator method names defined inside the model */
    validators: string[];
    /** True if model extends another Pydantic model (inheritance) */
    is_derived: boolean;
}
export interface PydanticGraphEdge {
    from: string;
    to: string;
    field: string;
    kind: "reference" | "inheritance" | "list" | "optional";
}
export interface PydanticModelsResult {
    models: PydanticModel[];
    edges: PydanticGraphEdge[];
    total_models: number;
    total_fields: number;
}
/**
 * Extract Pydantic models from the indexed codebase.
 */
export declare function getPydanticModels(repo: string, options?: {
    file_pattern?: string;
    output_format?: "json" | "mermaid";
}): Promise<PydanticModelsResult | {
    mermaid: string;
}>;
//# sourceMappingURL=pydantic-models.d.ts.map