import type { GetModelTypeFromClass, GetModelTypeLiteFromSchema } from '../modules/BaseModel.ts'; import { BaseModel } from '../modules/BaseModel.ts'; export type TSequence = GetModelTypeFromClass; declare class Sequence extends BaseModel { static get modelSchema(): { readonly _id: { readonly type: StringConstructor; readonly required: true; }; readonly seq: { readonly type: NumberConstructor; readonly default: 1; }; }; static get modelStatics(): { readonly getSequence: (this: GetModelTypeLiteFromSchema<{ readonly _id: { readonly type: StringConstructor; readonly required: true; }; readonly seq: { readonly type: NumberConstructor; readonly default: 1; }; }, {}>, forType: string) => Promise; }; } export default Sequence;