import type { Introspector, RawSchema } from "../../types.js";
/**
 * Parses a Rails `db/schema.rb`. Handles `create_table` blocks (implicit `id`
 * primary key, `t.<type>` columns, `t.references`/`t.belongs_to`,
 * `t.timestamps`) and `add_foreign_key` statements. Foreign keys come from
 * both `add_foreign_key` (authoritative) and `foreign_key: true` references,
 * deduplicated by table + columns.
 */
export declare class RailsSchemaIntrospector implements Introspector {
    private readonly source;
    constructor(source: string);
    introspect(): Promise<RawSchema>;
}
export declare function parseRailsSchema(source: string): RawSchema;
