import type { BuildContext, BuiltTaskResult, BuildTask, TaskLocation, ArtifactDefinition } from '@teambit/builder'; import type { Logger } from '@teambit/logger'; import type { SchemaMain } from './schema.main.runtime'; export declare const SCHEMA_TASK_NAME = "ExtractSchema"; export declare const SCHEMA_ARTIFACT_NAME = "schema"; /** * extract and persist the component schema as a json file */ export declare class SchemaTask implements BuildTask { readonly aspectId: string; private schema; private logger; readonly name = "ExtractSchema"; readonly location: TaskLocation; readonly description = "extract api schema for a set of components"; constructor(aspectId: string, schema: SchemaMain, logger: Logger); execute(context: BuildContext): Promise; } export declare function getSchemaArtifactPath(): string; export declare function getSchemaArtifactDef(): ArtifactDefinition;