import { EntityAction } from '../../../entity/index.js'; import type { Entity } from '../../../entity/index.js'; import { PathParser } from '../../../schema/actions/parsePaths/index.js'; import type { ParsePathsOptions, ProjectionExpression, TransformPathsOptions } from '../../../schema/actions/parsePaths/index.js'; import type { Paths } from '../../../schema/index.js'; import { $pathParser } from './constants.js'; export declare class EntityPathParser extends EntityAction { static actionName: 'parsePaths'; static express(paths: string[]): ProjectionExpression; [$pathParser]: PathParser; constructor(entity: ENTITY); transform(paths: string[], options?: TransformPathsOptions): string[]; parse(attributes: string[], options?: ParsePathsOptions): ProjectionExpression; } export type EntityPaths = Paths; export type EntityPathsUnion = ENTITIES extends [infer ENTITIES_HEAD, ...infer ENTITIES_TAIL] ? ENTITIES_HEAD extends Entity ? ENTITIES_TAIL extends Entity[] ? EntityPathsUnion> : never : never : RESULTS;