import { EnvironmentSettingsSection } from './environment-settings-section.js';
import { EditorType, TerminalType } from '../../../../../../packages/core/src/domain/generated/output.js';
const meta = {
    title: 'Features/Settings/EnvironmentSettingsSection',
    component: EnvironmentSettingsSection,
    tags: ['autodocs'],
    parameters: {
        layout: 'padded',
    },
};
export default meta;
export const Default = {
    args: {
        environment: {
            defaultEditor: EditorType.VsCode,
            shellPreference: 'bash',
            terminalPreference: TerminalType.System,
        },
        availableTerminals: [
            { id: 'system', name: 'System Terminal', available: true },
            { id: 'warp', name: 'Warp', available: true },
            { id: 'iterm2', name: 'iTerm2', available: true },
        ],
    },
};
export const CursorWithZsh = {
    args: {
        environment: {
            defaultEditor: EditorType.Cursor,
            shellPreference: 'zsh',
            terminalPreference: TerminalType.System,
        },
        availableTerminals: [{ id: 'system', name: 'System Terminal', available: true }],
    },
};
export const WarpSelected = {
    args: {
        environment: {
            defaultEditor: EditorType.VsCode,
            shellPreference: 'zsh',
            terminalPreference: TerminalType.Warp,
        },
        availableTerminals: [
            { id: 'system', name: 'System Terminal', available: true },
            { id: 'warp', name: 'Warp', available: true },
            { id: 'iterm2', name: 'iTerm2', available: true },
            { id: 'alacritty', name: 'Alacritty', available: true },
            { id: 'kitty', name: 'Kitty', available: true },
        ],
    },
};
export const OnlySystemTerminal = {
    args: {
        environment: {
            defaultEditor: EditorType.VsCode,
            shellPreference: 'bash',
            terminalPreference: TerminalType.System,
        },
    },
};
