export function slashMessageResult(message, sessionId) {
    return {
        handled: true,
        kind: 'message',
        message,
        sessionId,
    };
}
export function argumentAfterPrefix(input, prefix) {
    return input.raw.slice(prefix.length).trim();
}
export function formatCommandError(error) {
    return error instanceof Error ? error.message : String(error);
}
//# sourceMappingURL=results.js.map