import type { AxiosInstance } from 'axios'; import { z } from 'zod'; declare const CreatePieSchema: z.ZodObject<{ dividendCashAction: z.ZodUnion<[z.ZodLiteral<"REINVEST">, z.ZodLiteral<"TO_ACCOUNT_CASH">]>; endDate: z.ZodString; goal: z.ZodNumber; icon: z.ZodString; instrumentShares: z.ZodRecord; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: string; instrumentShares: Record; }, { name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: string; instrumentShares: Record; }>; declare const PieSchema: z.ZodObject<{ cash: z.ZodNumber; dividendDetails: z.ZodObject<{ gained: z.ZodNumber; inCash: z.ZodNumber; reinvested: z.ZodNumber; }, "strip", z.ZodTypeAny, { gained: number; inCash: number; reinvested: number; }, { gained: number; inCash: number; reinvested: number; }>; id: z.ZodNumber; progress: z.ZodNumber; result: z.ZodObject<{ investedValue: z.ZodNumber; result: z.ZodNumber; resultCoef: z.ZodNumber; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; result: number; investedValue: number; resultCoef: number; }, { value: number; result: number; investedValue: number; resultCoef: number; }>; status: z.ZodUnion<[z.ZodLiteral<"AHEAD">, z.ZodLiteral<"ON_TRACK">, z.ZodLiteral<"BEHIND">]>; }, "strip", z.ZodTypeAny, { status: "AHEAD" | "ON_TRACK" | "BEHIND"; result: { value: number; result: number; investedValue: number; resultCoef: number; }; id: number; cash: number; dividendDetails: { gained: number; inCash: number; reinvested: number; }; progress: number; }, { status: "AHEAD" | "ON_TRACK" | "BEHIND"; result: { value: number; result: number; investedValue: number; resultCoef: number; }; id: number; cash: number; dividendDetails: { gained: number; inCash: number; reinvested: number; }; progress: number; }>; declare const DetailedPieSchema: z.ZodObject<{ instruments: z.ZodArray, "many">; ownedQuantity: z.ZodNumber; result: z.ZodObject<{ investedValue: z.ZodNumber; result: z.ZodNumber; resultCoef: z.ZodNumber; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; result: number; investedValue: number; resultCoef: number; }, { value: number; result: number; investedValue: number; resultCoef: number; }>; ticker: z.ZodString; }, "strip", z.ZodTypeAny, { result: { value: number; result: number; investedValue: number; resultCoef: number; }; ticker: string; currentShare: number; expectedShare: number; issues: { name: string; severity: string; }[]; ownedQuantity: number; }, { result: { value: number; result: number; investedValue: number; resultCoef: number; }; ticker: string; currentShare: number; expectedShare: number; issues: { name: string; severity: string; }[]; ownedQuantity: number; }>, "many">; settings: z.ZodObject<{ creationDate: z.ZodString; dividendCashAction: z.ZodUnion<[z.ZodLiteral<"REINVEST">, z.ZodLiteral<"TO_ACCOUNT_CASH">]>; endDate: z.ZodString; goal: z.ZodNumber; icon: z.ZodUnion<[z.ZodLiteral<"Airplane">, z.ZodLiteral<"Apartments">, z.ZodLiteral<"Bills">, z.ZodLiteral<"BillsAndCoins">, z.ZodLiteral<"Briefcase">, z.ZodLiteral<"Burger">, z.ZodLiteral<"Bus">, z.ZodLiteral<"Cabin">, z.ZodLiteral<"Car">, z.ZodLiteral<"Child">, z.ZodLiteral<"Coins">, z.ZodLiteral<"Convertable">, z.ZodLiteral<"Education">, z.ZodLiteral<"Energy">, z.ZodLiteral<"Factory">, z.ZodLiteral<"Family">, z.ZodLiteral<"Global">, z.ZodLiteral<"Home">, z.ZodLiteral<"Iceberg">, z.ZodLiteral<"Landscape">, z.ZodLiteral<"Leaf">, z.ZodLiteral<"Materials">, z.ZodLiteral<"Medical">, z.ZodLiteral<"PiggyBank">, z.ZodLiteral<"Pill">, z.ZodLiteral<"Ring">, z.ZodLiteral<"RV">, z.ZodLiteral<"Shipping">, z.ZodLiteral<"Storefront">, z.ZodLiteral<"Tech">, z.ZodLiteral<"Travel">, z.ZodLiteral<"Umbrella">, z.ZodLiteral<"Unicorn">, z.ZodLiteral<"Vault">, z.ZodLiteral<"Water">, z.ZodLiteral<"Whale">, z.ZodLiteral<"Wind">]>; id: z.ZodNumber; instrumentShares: z.ZodUnion<[z.ZodNull, z.ZodRecord]>; initialInvestment: z.ZodNumber; name: z.ZodString; publicUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>; }, "strip", z.ZodTypeAny, { id: number; name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: "Airplane" | "Apartments" | "Bills" | "BillsAndCoins" | "Briefcase" | "Burger" | "Bus" | "Cabin" | "Car" | "Child" | "Coins" | "Convertable" | "Education" | "Energy" | "Factory" | "Family" | "Global" | "Home" | "Iceberg" | "Landscape" | "Leaf" | "Materials" | "Medical" | "PiggyBank" | "Pill" | "Ring" | "RV" | "Shipping" | "Storefront" | "Tech" | "Travel" | "Umbrella" | "Unicorn" | "Vault" | "Water" | "Whale" | "Wind"; instrumentShares: Record | null; creationDate: string; initialInvestment: number; publicUrl: string | null; }, { id: number; name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: "Airplane" | "Apartments" | "Bills" | "BillsAndCoins" | "Briefcase" | "Burger" | "Bus" | "Cabin" | "Car" | "Child" | "Coins" | "Convertable" | "Education" | "Energy" | "Factory" | "Family" | "Global" | "Home" | "Iceberg" | "Landscape" | "Leaf" | "Materials" | "Medical" | "PiggyBank" | "Pill" | "Ring" | "RV" | "Shipping" | "Storefront" | "Tech" | "Travel" | "Umbrella" | "Unicorn" | "Vault" | "Water" | "Whale" | "Wind"; instrumentShares: Record | null; creationDate: string; initialInvestment: number; publicUrl: string | null; }>; }, "strip", z.ZodTypeAny, { instruments: { result: { value: number; result: number; investedValue: number; resultCoef: number; }; ticker: string; currentShare: number; expectedShare: number; issues: { name: string; severity: string; }[]; ownedQuantity: number; }[]; settings: { id: number; name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: "Airplane" | "Apartments" | "Bills" | "BillsAndCoins" | "Briefcase" | "Burger" | "Bus" | "Cabin" | "Car" | "Child" | "Coins" | "Convertable" | "Education" | "Energy" | "Factory" | "Family" | "Global" | "Home" | "Iceberg" | "Landscape" | "Leaf" | "Materials" | "Medical" | "PiggyBank" | "Pill" | "Ring" | "RV" | "Shipping" | "Storefront" | "Tech" | "Travel" | "Umbrella" | "Unicorn" | "Vault" | "Water" | "Whale" | "Wind"; instrumentShares: Record | null; creationDate: string; initialInvestment: number; publicUrl: string | null; }; }, { instruments: { result: { value: number; result: number; investedValue: number; resultCoef: number; }; ticker: string; currentShare: number; expectedShare: number; issues: { name: string; severity: string; }[]; ownedQuantity: number; }[]; settings: { id: number; name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: "Airplane" | "Apartments" | "Bills" | "BillsAndCoins" | "Briefcase" | "Burger" | "Bus" | "Cabin" | "Car" | "Child" | "Coins" | "Convertable" | "Education" | "Energy" | "Factory" | "Family" | "Global" | "Home" | "Iceberg" | "Landscape" | "Leaf" | "Materials" | "Medical" | "PiggyBank" | "Pill" | "Ring" | "RV" | "Shipping" | "Storefront" | "Tech" | "Travel" | "Umbrella" | "Unicorn" | "Vault" | "Water" | "Whale" | "Wind"; instrumentShares: Record | null; creationDate: string; initialInvestment: number; publicUrl: string | null; }; }>; export type Pie = z.infer; export type DetailedPie = z.infer; export type CreatePie = z.infer; export declare class PieAPI { private readonly apiClient; static readonly URL: { PIES: string; }; constructor(apiClient: AxiosInstance); getPie(): Promise; getPie(id: number): Promise; createPie(request: CreatePie): Promise<{ instruments: { result: { value: number; result: number; investedValue: number; resultCoef: number; }; ticker: string; currentShare: number; expectedShare: number; issues: { name: string; severity: string; }[]; ownedQuantity: number; }[]; settings: { id: number; name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: "Airplane" | "Apartments" | "Bills" | "BillsAndCoins" | "Briefcase" | "Burger" | "Bus" | "Cabin" | "Car" | "Child" | "Coins" | "Convertable" | "Education" | "Energy" | "Factory" | "Family" | "Global" | "Home" | "Iceberg" | "Landscape" | "Leaf" | "Materials" | "Medical" | "PiggyBank" | "Pill" | "Ring" | "RV" | "Shipping" | "Storefront" | "Tech" | "Travel" | "Umbrella" | "Unicorn" | "Vault" | "Water" | "Whale" | "Wind"; instrumentShares: Record | null; creationDate: string; initialInvestment: number; publicUrl: string | null; }; }>; updatePie(id: number, request: CreatePie): Promise<{ instruments: { result: { value: number; result: number; investedValue: number; resultCoef: number; }; ticker: string; currentShare: number; expectedShare: number; issues: { name: string; severity: string; }[]; ownedQuantity: number; }[]; settings: { id: number; name: string; dividendCashAction: "REINVEST" | "TO_ACCOUNT_CASH"; endDate: string; goal: number; icon: "Airplane" | "Apartments" | "Bills" | "BillsAndCoins" | "Briefcase" | "Burger" | "Bus" | "Cabin" | "Car" | "Child" | "Coins" | "Convertable" | "Education" | "Energy" | "Factory" | "Family" | "Global" | "Home" | "Iceberg" | "Landscape" | "Leaf" | "Materials" | "Medical" | "PiggyBank" | "Pill" | "Ring" | "RV" | "Shipping" | "Storefront" | "Tech" | "Travel" | "Umbrella" | "Unicorn" | "Vault" | "Water" | "Whale" | "Wind"; instrumentShares: Record | null; creationDate: string; initialInvestment: number; publicUrl: string | null; }; }>; deletePie(id: number): Promise; } export {};