import type { ProjectSchemaJSON, PropertySchema } from './project-schema/index.ts';
import { type ServicesContext } from './refs.ts';
import { type ServiceLayers } from './types/index.ts';
/**
 * Add all referenced shape names to the refSet meant to be used as a callback to visitSchemaProperties
 */
export declare function collectReferencedShapeNames(context: ServicesContext, shapeNames: Set<string>): (schema: PropertySchema) => void;
/**
 * Returns a schema with all of its dependencies resolved.
 * SHOULD only return the minimum set of remote dependencies required to enable
 * the local shape definitions.
 */
export declare function resolveSchemaShapeDependencies(projectSchema: ProjectSchemaJSON, serviceLayers: ServiceLayers): ProjectSchemaJSON;
