export type AppConfig = {
    port: number;
    sessionSecret: string;
    sessionMaxAgeMs: number;
    trustProxy: boolean;
    cookieSecure: boolean;
    cookieSameSite: "strict" | "lax" | "none" | boolean;
    /**
     * 浏览器访问 DataEase 前端时使用的「对外」根地址（无尾斜杠），用于把相对 shareUrl
     * 拼成 iframe 的完整 URL。应与用户打开的门户同源（经 nginx 的 80/443），例如
     * http://192.168.0.235；不要填 http://127.0.0.1:8100（远程用户会连到自己本机）。
     * nginx 反代到本机 8100 的 upstream 仍单独写在 nginx 里，与此项含义不同。
     */
    dataEasePublicBase: string;
};
export type LdapTlsOptions = {
    rejectUnauthorized?: boolean;
} | null;
export type LdapConfig = {
    url: string;
    bindDN: string;
    bindPassword: string;
    searchBase: string;
    searchFilter: string;
    tlsOptions: LdapTlsOptions;
};
export type ScenarioPage = {
    id: string;
    title: string;
    shareUrl: string;
    /** 相对 public/board 的路径，如 images/01.png，对应 URL /board/static/images/01.png */
    image: string;
};
export type Scenario = {
    id: string;
    name: string;
    pages: ScenarioPage[];
};
export type ScenarioCategory = {
    id: string;
    name: string;
    scenarios: Scenario[];
};
export type ScenariosConfig = {
    categories: ScenarioCategory[];
};
/** 单日一条仓库操作计划 */
export type WarehousePlanEntry = {
    title: string;
    /** 可选补充说明 */
    note?: string;
};
/** 按日期维护计划，键为 YYYY-MM-DD */
export type WarehousePlansConfig = {
    plans: Record<string, WarehousePlanEntry[]>;
};
