let types_ProjectType = /*#__PURE__*/ function(ProjectType) {
    ProjectType["Agent"] = "Agent";
    ProjectType["Api"] = "Api";
    ProjectType["Rpa"] = "Rpa";
    ProjectType["Process"] = "Process";
    ProjectType["ProcessOrchestration"] = "ProcessOrchestration";
    ProjectType["Integration"] = "Integration";
    ProjectType["IXP"] = "IXP";
    ProjectType["Internal"] = "Internal";
    return ProjectType;
}({});
let types_BuiltInToolType = /*#__PURE__*/ function(BuiltInToolType) {
    BuiltInToolType["AnalyzeAttachments"] = "AnalyzeAttachments";
    BuiltInToolType["BatchTransform"] = "BatchTransform";
    BuiltInToolType["DeepRAG"] = "DeepRAG";
    BuiltInToolType["LoadAttachments"] = "LoadAttachments";
    return BuiltInToolType;
}({});
const isAgentFlowAgentNode = (node)=>'agent' === node.type;
const isAgentFlowResourceNode = (node)=>'resource' === node.type;
const isStickyNoteNode = (node)=>'stickyNote' === node.type;
const DefaultAgentNodeTranslations = {
    arguments: 'Arguments',
    input: 'Input',
    output: 'Output',
    user: 'User',
    system: 'System',
    autonomousAgent: 'Autonomous Agent',
    codedAgent: 'Coded Agent',
    conversationalAgent: 'Conversational Agent',
    escalations: 'Escalations',
    model: 'Model',
    context: 'Context',
    tools: 'Tools',
    memory: 'Memory',
    instructions: 'Instructions',
    addInstructions: 'Add Instructions',
    agentSettings: 'Agent Settings',
    readOnlyPreview: 'Read-only preview',
    systemPrompt: 'System prompt',
    userPrompt: 'User prompt',
    temperature: 'Temperature',
    maxTokens: 'Max tokens',
    maxIterations: 'Max iterations',
    notConfigured: 'Not configured'
};
const DefaultResourceNodeTranslations = {
    moreOptions: 'More options',
    enable: 'Enable',
    disable: 'Disable',
    expand: 'Expand',
    collapse: 'Collapse',
    remove: 'Remove',
    addBreakpoint: 'Add breakpoint',
    removeBreakpoint: 'Remove breakpoint',
    addGuardrail: 'Add guardrail',
    guardrailsApplied: 'Guardrail(s) applied',
    goToSource: 'Go to source'
};
const DefaultCodedAgentNodeTranslations = {
    codedAgentStep: 'Coded Agent Step',
    noDataToDisplay: 'No data to display'
};
const DefaultStickyNoteNodeTranslations = {
    placeholder: '# Add a Note\n\nUse notes to describe canvas areas and explain the purpose of each tool to organize your agent flow.\n\n*Supports Markdown formatting.*\n\n[Learn more](https://docs.uipath.com)'
};
const DefaultCanvasTranslations = {
    panShortcutTeaching: 'Hold Space and drag to pan around the canvas',
    organize: 'Organize',
    zoomIn: 'Zoom in',
    zoomOut: 'Zoom out',
    zoomToFit: 'Zoom to fit',
    addNote: 'Add note'
};
const DefaultSuggestionTranslations = {
    accept: 'Accept',
    reject: 'Reject',
    acceptAll: 'Accept all',
    rejectAll: 'Reject all'
};
function createPlaceholderSuggestion(partialResource, existingGroup, options) {
    if (!partialResource.type || !partialResource.id) throw new Error('partialResource must have at least type and id fields');
    const fullResource = {
        type: partialResource.type,
        id: partialResource.id,
        name: partialResource.name || `New ${partialResource.type}`,
        description: partialResource.description || '',
        ...partialResource
    };
    const newSuggestion = {
        id: `suggestion-${partialResource.id}`,
        type: 'add',
        resource: fullResource,
        isStandalone: options?.isStandalone ?? false
    };
    if (existingGroup) return {
        ...existingGroup,
        suggestions: [
            ...existingGroup.suggestions,
            newSuggestion
        ]
    };
    return {
        id: `placeholder-group-${Date.now()}`,
        suggestions: [
            newSuggestion
        ],
        metadata: {
            title: 'New Resource',
            description: 'Complete the resource details or remove'
        }
    };
}
export { types_BuiltInToolType as BuiltInToolType, DefaultAgentNodeTranslations, DefaultCanvasTranslations, DefaultCodedAgentNodeTranslations, DefaultResourceNodeTranslations, DefaultStickyNoteNodeTranslations, DefaultSuggestionTranslations, types_ProjectType as ProjectType, createPlaceholderSuggestion, isAgentFlowAgentNode, isAgentFlowResourceNode, isStickyNoteNode };
