import type { ApiClientInterface, CommonErrors, ServiceDependencies } from "../../api/base-service"; export type { Subscription, SubscriptionsListResponse } from "./schemas"; import { type ExportFormat, type ExportLinkResponse, type Subscription, type SubscriptionsListResponse } from "./schemas"; import { type TicketableGetResult, type TicketableListArgs, type TicketableListResult, TicketableService } from "./ticketable-service"; export interface SubscriptionsListArgs extends TicketableListArgs { subscriptionCategoryId?: string; } export type SubscriptionsGetArgs = { id: string; }; export type SubscriptionsListResult = TicketableListResult; export type SubscriptionsGetResult = TicketableGetResult; export type SubscriptionExportLinkResult = CommonErrors | ["missing_id_token", null] | ["unauthorized", null] | ["server_error", null] | ["invalid_response", null] | [null, ExportLinkResponse]; export declare class SubscriptionsService extends TicketableService { constructor(client: ApiClientInterface, deps?: ServiceDependencies); list(args?: SubscriptionsListArgs): Promise; get(args: SubscriptionsGetArgs): Promise; getExportLink(args: { id: string; format: ExportFormat; }): Promise; }