import { Program } from "@typespec/compiler"; import { MsGraphInterface } from "../utils.js"; import type { FilterExpressionRestriction } from "../decorators/filter-expression-restriction.js"; import { AllowedValues, MsGraphModel } from "./model.js"; export interface ResourceAnnotations { IsOwned: boolean; Target: string | undefined; HasGetOnResource: boolean; HasPut: boolean; HasPatch: boolean; HasDeleteOnResource: boolean; HasExpandOnCollectionOrResource: boolean; NonExpandableProperties: string[] | undefined; Description: string | undefined; HasNavigationProperties: boolean; ExplicitBindingOperationNames: string[]; IsSelectable: boolean; } export interface CollectionAnnotations { IsOwned: boolean; Target: string | undefined; HasGetOnCollection: boolean; HasGetOnResource: boolean; HasPostOnCollection: boolean; RequiredProperties: string[] | undefined; HasPut: boolean; HasPatch: boolean; HasDeleteOnResource: boolean; HasCountOnCollection: boolean; HasExpandOnCollectionOrResource: boolean; NonExpandableProperties: string[] | undefined; HasSearchOnCollection: boolean; HasSkipOnCollection: boolean; HasSkipTokenOnCollection: boolean; HasFilterOperation: boolean; NonFilterableProperties: string[] | undefined; FilterExpressionRestrictions: FilterExpressionRestriction[] | undefined; HasSortOnCollection: boolean; NonSortableProperties: string[] | undefined; HasTopOnCollection: boolean; Description: string | undefined; HasNavigationProperties: boolean; ExplicitBindingOperationNames: string[]; IsSelectable: boolean; } export interface AllowedValuesAnnotations { Target: string; allowedValues: AllowedValues; } export declare function GetResourceAnnotations(program: Program, namespaceName: string, navigationSources: Map): Map; export declare function GetCollectionAnnotations(program: Program, namespaceName: string, sources: Map): Map; export declare function GetAllowedValuesAnnotations(program: Program, namespaceName: string, models: Map): Map; //# sourceMappingURL=annotations.d.ts.map