import { type Abstraction } from "@webiny/di"; import { z } from "zod"; import { type IProjectModel } from "../../abstractions/models/index.js"; /** * TypeScript type for source paths. * - `/extensions/${string}` - resolves from project root * - `@/${string}` or other tsconfig aliases - resolves using tsconfig.json paths * - string (absolute path) - treated as absolute path */ export type SrcPath = `/extensions/${string}` | string; type ZodSrcPathOptions = { project: IProjectModel; abstraction?: Abstraction; }; export declare const zodSrcPath: (options: ZodSrcPathOptions) => z.ZodPipe>; export {};