import { GetFileStyles200Response } from '../../models/base/get-file-styles200-response/index'; import { GetStyle200Response } from '../../models/base/get-style200-response/index'; import { GetTeamStyles200Response } from '../../models/base/get-team-styles200-response/index'; import { Api, ApiClient, RequestMetadata } from '@ama-sdk/core'; /** Parameters object to StylesApi's getFileStyles function */ export interface StylesApiGetFileStylesRequestData { /** File to list styles 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 StylesApi's getStyle function */ export interface StylesApiGetStyleRequestData { /** The unique identifier of the style. */ 'key': string; } /** Parameters object to StylesApi's getTeamStyles function */ export interface StylesApiGetTeamStylesRequestData { /** Id of the team to list styles 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 styles 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 styles for. Exclusive with after. The cursor value is an internally tracked integer that doesn't correspond to any Ids. */ 'before'?: number; } export declare class StylesApi implements Api { /** API name */ static readonly apiName = "StylesApi"; /** @inheritDoc */ readonly apiName = "StylesApi"; /** 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 file styles * Get a list of published styles within a file library. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getFileStyles(data: StylesApiGetFileStylesRequestData, metadata?: RequestMetadata): Promise; /** * Get style * Get metadata on a style by key. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getStyle(data: StylesApiGetStyleRequestData, metadata?: RequestMetadata): Promise; /** * Get team styles * Get a paginated list of published styles within a team library. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getTeamStyles(data: StylesApiGetTeamStylesRequestData, metadata?: RequestMetadata): Promise; } //# sourceMappingURL=styles-api.d.ts.map