adpa-enterprise-framework-automation
Version:
Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe
118 lines • 4.5 kB
TypeScript
/**
* Template Selection System for Adobe Creative Suite Phase 2
*
* This module provides automatic template selection based on document types
* and content analysis. It maps input documents to the most appropriate
* Adobe Creative Suite templates based on content, structure, and purpose.
*/
export declare enum DocumentType {
PROJECT_CHARTER = "project-charter",
REQUIREMENTS_SPECIFICATION = "requirements-specification",
TECHNICAL_DESIGN = "technical-design",
USER_GUIDE = "user-guide",
STATUS_REPORT = "status-report",
TEST_PLAN = "test-plan",
BUSINESS_PROPOSAL = "business-proposal",
MEETING_MINUTES = "meeting-minutes",
RISK_ASSESSMENT = "risk-assessment",
TRAINING_MANUAL = "training-manual",
API_DOCUMENTATION = "api-documentation",
RELEASE_NOTES = "release-notes",
COMPLIANCE_REPORT = "compliance-report",
SECURITY_ASSESSMENT = "security-assessment",
UNKNOWN = "unknown"
}
export declare enum VisualizationType {
PROJECT_TIMELINE = "project-timeline",
PROCESS_FLOW = "process-flow",
ORGANIZATION_CHART = "organization-chart",
DATA_CHART = "data-chart",
ARCHITECTURE_DIAGRAM = "architecture-diagram",
UNKNOWN = "unknown"
}
export declare enum ImageEnhancementType {
SCREENSHOT = "screenshot",
PHOTO = "photo",
DIAGRAM = "diagram",
ICON = "icon",
UNKNOWN = "unknown"
}
/**
* Template registry mapping document types to appropriate templates
*/
interface TemplateRegistry {
indesign: Record<DocumentType, string>;
illustrator: Record<VisualizationType, string>;
photoshop: Record<ImageEnhancementType, string>;
documentGeneration: Record<DocumentType, string>;
}
/**
* Registry of available templates mapped by document type
*/
export declare const templateRegistry: TemplateRegistry;
/**
* Document analysis result with detected type and confidence
*/
export interface DocumentAnalysis {
documentType: DocumentType;
confidence: number;
metadata: Record<string, any>;
visualElements: VisualizationType[];
imageElements: ImageEnhancementType[];
recommendedTemplates: {
indesign: string;
illustrator: string[];
photoshop: string[];
documentGeneration: string;
};
}
/**
* Analyzes document content to determine the document type
* @param content Document content to analyze
* @param metadata Optional metadata about the document
* @returns Analysis results including document type and confidence
*/
export declare function analyzeDocument(content: string, metadata?: Record<string, any>): DocumentAnalysis;
/**
* Get the InDesign template path for a specific document type
* @param documentType The document type
* @returns Path to the InDesign template
*/
export declare function getInDesignTemplate(documentType: DocumentType): string;
/**
* Get the Illustrator template path for a specific visualization type
* @param visualizationType The visualization type
* @returns Path to the Illustrator template
*/
export declare function getIllustratorTemplate(visualizationType: VisualizationType): string;
/**
* Get the Photoshop template path for a specific image enhancement type
* @param imageType The image enhancement type
* @returns Path to the Photoshop template
*/
export declare function getPhotoshopTemplate(imageType: ImageEnhancementType): string;
/**
* Get the Document Generation template path for a specific document type
* @param documentType The document type
* @returns Path to the Document Generation template
*/
export declare function getDocumentGenerationTemplate(documentType: DocumentType): string;
/**
* Get template variables for a document based on brand guidelines and document type
* @param documentType The document type
* @returns Template variables object
*/
export declare function getTemplateVariables(documentType: DocumentType): Promise<Record<string, any>>;
declare const _default: {
analyzeDocument: typeof analyzeDocument;
getInDesignTemplate: typeof getInDesignTemplate;
getIllustratorTemplate: typeof getIllustratorTemplate;
getPhotoshopTemplate: typeof getPhotoshopTemplate;
getDocumentGenerationTemplate: typeof getDocumentGenerationTemplate;
getTemplateVariables: typeof getTemplateVariables;
DocumentType: typeof DocumentType;
VisualizationType: typeof VisualizationType;
ImageEnhancementType: typeof ImageEnhancementType;
};
export default _default;
//# sourceMappingURL=template-selector.d.ts.map