Backstage
    Preparing search index...
    processingResult: Readonly<
        {
            entity(
                atLocation: LocationSpec,
                newEntity: Entity,
                options?: { locationKey?: string | null },
            ): CatalogProcessorResult;
            generalError(
                atLocation: LocationSpec,
                message: string,
            ): CatalogProcessorResult;
            inputError(
                atLocation: LocationSpec,
                message: string,
            ): CatalogProcessorResult;
            location(newLocation: LocationSpec): CatalogProcessorResult;
            notFoundError(
                atLocation: LocationSpec,
                message: string,
            ): CatalogProcessorResult;
            refresh(key: string): CatalogProcessorResult;
            relation(spec: EntityRelationSpec): CatalogProcessorResult;
        },
    > = ...

    Factory functions for the standard processing result types.