UNPKG

@ln-markets/sdk

Version:
16 lines 608 B
import type { KyInstance } from 'ky'; import type { PaginatedResponse, PaginationInput } from '../../types.js'; export interface GetNotificationsInput extends PaginationInput { read?: boolean; } interface Notification { id: string; createdAt: string; event: string; data: any; } export type GetNotificationsOutput = PaginatedResponse<Notification>; type GetNotifications = (input?: GetNotificationsInput) => Promise<GetNotificationsOutput>; export declare const createGetNotifications: (instance: KyInstance) => GetNotifications; export {}; //# sourceMappingURL=get-notifications.d.ts.map