import { OptionType } from '@node-dlc/core'; /** * Composes a Deribit formatted datestring for a given date. * * @param date Date or timestamp in seconds * @returns deribit formatted datestring (e.g. '14MAY22') */ export declare const getStrDate: (date: number | Date) => string; /** * An object returned by parseInstrumentName, * which contains the expiry, strike price, and option type. * * @param expiry - expiry date * @param strikePrice - strike price * @param type - option type (call or put) */ type OptionInstrument = { expiry: Date; strikePrice: number; type: OptionType; }; export declare const composeInstrumentName: ({ expiry, type, strikePrice, }: OptionInstrument) => string; /** * Parses an instrument name into its expiry, strike price, and option type. * * @param instrumentName e.g. BTC-1JAN19-120000-C */ export declare const parseInstrumentName: (instrumentName: string) => OptionInstrument; export {};