import * as plugins from '../../plugins.js';
import type { IRouteMetadata } from '../../../dist_ts_interfaces/data/route-management.js';
import type { IDcRouterRouteConfig } from '../../../dist_ts_interfaces/data/remoteingress.js';
export declare class RouteDoc extends plugins.smartdata.SmartDataDbDoc<RouteDoc, RouteDoc> {
    id: string;
    route: IDcRouterRouteConfig;
    enabled: boolean;
    createdAt: number;
    updatedAt: number;
    createdBy: string;
    origin: 'config' | 'email' | 'dns' | 'api';
    systemKey?: string;
    metadata?: IRouteMetadata;
    constructor();
    static findById(id: string): Promise<RouteDoc | null>;
    static findAll(): Promise<RouteDoc[]>;
    static findByName(name: string): Promise<RouteDoc | null>;
    static findByOrigin(origin: 'config' | 'email' | 'dns' | 'api'): Promise<RouteDoc[]>;
    static findBySystemKey(systemKey: string): Promise<RouteDoc | null>;
}
