import type { ProjectSchemaJSON, PropertySchema } from '../project-schema/index.ts';
type SchemaPredicate = (projectSchema: ProjectSchemaJSON, propSchema: PropertySchema, shapeName?: string, propName?: string) => boolean;
/**
 * Use a basic depth-first search to determine whether a schema contains a cycle
 */
export declare function hasCycle(projectSchema: ProjectSchemaJSON, schema: PropertySchema, predicate?: SchemaPredicate): boolean;
export {};
