import { GetComponentSet200Response } from '../../models/base/get-component-set200-response/index'; import { GetFileComponentSets200Response } from '../../models/base/get-file-component-sets200-response/index'; import { GetTeamComponentSets200Response } from '../../models/base/get-team-component-sets200-response/index'; import { Api, ApiClient, RequestMetadata } from '@ama-sdk/core'; /** Parameters object to ComponentSetsApi's getComponentSet function */ export interface ComponentSetsApiGetComponentSetRequestData { /** The unique identifier of the component set. */ 'key': string; } /** Parameters object to ComponentSetsApi's getFileComponentSets function */ export interface ComponentSetsApiGetFileComponentSetsRequestData { /** File to list component sets from. This must be a main file key, not a branch key, as it is not possible to publish from branches. */ 'file_key': string; } /** Parameters object to ComponentSetsApi's getTeamComponentSets function */ export interface ComponentSetsApiGetTeamComponentSetsRequestData { /** Id of the team to list component sets from. */ 'team_id': string; /** Number of items to return in a paged list of results. Defaults to 30. */ 'page_size'?: number; /** Cursor indicating which id after which to start retrieving component sets for. Exclusive with before. The cursor value is an internally tracked integer that doesn't correspond to any Ids. */ 'after'?: number; /** Cursor indicating which id before which to start retrieving component sets for. Exclusive with after. The cursor value is an internally tracked integer that doesn't correspond to any Ids. */ 'before'?: number; } export declare class ComponentSetsApi implements Api { /** API name */ static readonly apiName = "ComponentSetsApi"; /** @inheritDoc */ readonly apiName = "ComponentSetsApi"; /** Tokens of the parameters containing PII */ readonly piiParamTokens: { [key: string]: string; }; /** @inheritDoc */ client: ApiClient; /** * Initialize your interface * * @param apiClient Client used to process call to the API */ constructor(apiClient: ApiClient); /** * Get component set * Get metadata on a published component set by key. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getComponentSet(data: ComponentSetsApiGetComponentSetRequestData, metadata?: RequestMetadata): Promise; /** * Get file component sets * Get a list of published component sets within a file library. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getFileComponentSets(data: ComponentSetsApiGetFileComponentSetsRequestData, metadata?: RequestMetadata): Promise; /** * Get team component sets * Get a paginated list of published component sets within a team library. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getTeamComponentSets(data: ComponentSetsApiGetTeamComponentSetsRequestData, metadata?: RequestMetadata): Promise; } //# sourceMappingURL=component-sets-api.d.ts.map