import { type EntityField, type EntityJSON } from "@uipath/entity-modeler/schema"; /** * Data Fabric resolves this on actual resource creation. Same sentinel Studio * Web writes (`UNASSIGNED_FOLDER_ID` in custom-render/data-service). * * It is also the only reliable way to tell an entity authored locally from one * imported off a tenant by `uip solution resources add`. The two resource * envelopes are otherwise identical — same `kind`, `type`, `isOverridable` and * `folders` — and differ only here: the sentinel for an authored entity, a real * folder GUID for an imported one. */ export declare const UNASSIGNED_FOLDER_ID = "99999999-9999-9999-9999-999999999999"; /** Was this entity authored locally, or does the solution merely reference a * live platform entity? See {@link UNASSIGNED_FOLDER_ID}. */ export declare function isLocallyAuthored(entity: Pick): boolean; /** The 5 canonical system fields, in Studio Web's order. Also the validator's * source of truth for "unmodified system fields": every property here is * compared, and properties absent here are not. */ export declare const SYSTEM_FIELD_TEMPLATES: readonly EntityField[]; /** * A new entity's starting schema: the 5 system fields and the empty runtime * defaults, in the order and shape Studio Web's `_initializeFromValues` writes, * so an entity authored here and one authored there are the same document. * Pure, no I/O. A system-fields-only entity is valid and deployable. `name` is * used as-is — validity is the validator's concern, not this factory's. */ export declare function createEntitySkeleton(name: string): EntityJSON; /** * An authored document is written under the name it was authored for. The * resource path derives from the entity name alone, so one authored under * another name would land as the wrong entity. Both write paths — adding to a * project and scaffolding one — check it before they write. */ export declare function requireAuthoredName(authored: EntityJSON | undefined, entityName: string): void;