import { type RuntimeValidator } from '../engine/runtime.js'; import type { WorkflowApplicationFactoryContext, WorkflowApplicationImplementation } from '../workflow-application/index.js'; import { createNativePortableState } from './native-portable-state.js'; export { prepareNativeCandidateReviewExample, prepareNativeCandidateReviewProject, } from './native-candidate-review-example.js'; export { createNativePortableState as createNativeApplicationState }; export type NativeExtensionScope = 'candidate' | 'parent' | 'child' | 'integration'; /** 按声明顺序附加检查;不替换 Native 的 Builder、Verifier 或授权条件。 */ export interface NativeApplicationExtension { id: string; skillId: string; scopes: readonly NativeExtensionScope[]; artifactRefs: readonly string[]; validator: RuntimeValidator; } export interface NativeApplicationOptions { extensions: readonly NativeApplicationExtension[]; executors?: WorkflowApplicationImplementation['executors']; } export declare function nativeExtensionStepId(scope: NativeExtensionScope, id: string): string; export declare function createNativeWorkflowApplication(context: WorkflowApplicationFactoryContext, options: NativeApplicationOptions): WorkflowApplicationImplementation; //# sourceMappingURL=native-application.d.ts.map