/** * remember `source` 필드 URI 검증 (#671, #696) * * 지원 형식: * - file://path/to/file * - https://example.com/path * - commit: * - doc: * - agent: (에이전트·워크플로 식별자; bare → agent: 정규화) * - memento://// * - memento://memory/ (legacy alias) */ export type SourceUriType = 'file' | 'https' | 'commit' | 'doc' | 'memento' | 'agent'; export interface SourceValidationResult { isValid: boolean; type?: SourceUriType; message?: string; /** bare agent id가 agent:로 정규화된 경우 저장에 사용할 값 */ normalizedSource?: string; } /** * source 문자열이 지원 URI 형식인지 검증합니다. * 빈 문자열·undefined는 유효(선택 필드)로 처리합니다. */ export declare function validateSource(source: string | undefined | null): SourceValidationResult; //# sourceMappingURL=source-uri.d.ts.map