/**
 * Every origin an ai_thread can be created from. Canonical source for the
 * DB column type and the admin/list filters — add new origins here.
 */
export const AI_THREAD_CREATED_FROM = [
    'slack',
    'web_app',
    'evals',
    'scheduler',
];
// Subsets use indexed access over const arrays (not Exclude<>, which tsoa
// can't resolve at API boundaries); `satisfies` keeps each subset inside the
// canonical union.
/** Origins for threads created through the web app path — everything but Slack. */
export const AI_WEB_APP_THREAD_CREATED_FROM = [
    'web_app',
    'evals',
    'scheduler',
];
/** Origins handled through the Slack path. */
export const AI_SLACK_THREAD_CREATED_FROM = [
    'slack',
    'web_app',
];
/** Origins a thread can be cloned into — Slack and scheduler threads are never clone targets. */
export const AI_CLONED_THREAD_CREATED_FROM = [
    'web_app',
    'evals',
];
export const isSlackPrompt = (prompt) => 'slackUserId' in prompt;
//# sourceMappingURL=requestTypes.js.map