export interface OwnershipEntityEdge { src_ico: string; dst_ico: string; canonical_key: string; role_types: string[]; } export interface OwnershipEntity { canonical_key: string; repr_full_name: string | null; role_types: string[]; is_hub: boolean; } export interface OwnershipNetworkCompany { ico: string; name: string | null; is_liquidated: boolean; shared_entities: string[]; } export interface OwnershipEntityNetwork { network_size: number; shared_role_link_count: number; coverage: number; edges: OwnershipEntityEdge[]; entities_1hop: OwnershipEntity[]; companies_2hop: OwnershipNetworkCompany[]; collapsed_hubs: string[]; } interface QueryClient { query(sql: string, params: unknown[]): Promise<{ rows: T[]; }>; } export declare function setOwnershipEntityQueryClientForTests(client: QueryClient | undefined): void; export declare function getCompanyNetwork(ico: string, opts?: { maxDegree?: number; maxNodes?: number; }): Promise; export {}; //# sourceMappingURL=ownership-entity-query.d.ts.map