import { ListableResourceType, ResourceTypeLock, ResourceUpdate } from '@commercelayer/sdk'; /** * Format a resource name for display in the UI based on the count and format. * default format is lower case and singular */ export declare function formatResourceName({ resource, count, format, }: { resource: ListableResourceType; count?: number | "singular" | "plural"; format?: "lower" | "title"; }): string; export type TriggerAttribute = Extract; export type ResourceEndpoint = Exclude | ("organization" | "application"); /** * Get the resource endpoint for a given resource type. * @param resourceType The resource type * @returns The resource endpoint * @example getResourceEndpoint('organizations') // 'organization' */ export declare function getResourceEndpoint(resourceType: ResourceTypeLock): ResourceEndpoint;