import type { Connection } from 'mongoose'; /** * 注文番号リポジトリ */ export declare class OrderNumberRepo { private readonly counterRepo; private readonly settingModel; private static cachedSettings; private static cacheExpiry; private static readonly CACHE_TTL_MS; constructor(params: { connection: Connection; }); /** * 注文日時から新しい注文番号を発行する * グローバルユニークである前提 */ issueOrderNumber(params: { project: { alternateName: string; }; /** * 注文日時 */ orderDate: Date; }): Promise; decrypt(id: string): Promise; clearSettingCache(): void; /** * 注文番号生成設定を検索する */ private findSetting; }