import { z } from 'zod'; /** * Make a POST request to a URL with JSON body * @param url The URL to post to * @param data The data to send in the request body * @returns The JSON response */ export declare function post(url: string, data: Record): Promise; /** * Zod schema for client registration response */ export declare const ClientRegistrationResponseSchema: z.ZodObject<{ clientId: z.ZodString; clientSecret: z.ZodString; expiresAt: z.ZodOptional; }, z.core.$strip>; /** * Zod schema for device authorization response */ export declare const DeviceAuthorizationResponseSchema: z.ZodObject<{ deviceCode: z.ZodString; userCode: z.ZodString; verificationUri: z.ZodString; verificationUriComplete: z.ZodString; expiresIn: z.ZodNumber; interval: z.ZodNumber; }, z.core.$strip>; /** * Zod schema for token response */ export declare const TokenResponseSchema: z.ZodObject<{ accessToken: z.ZodOptional; access_token: z.ZodOptional; refreshToken: z.ZodNullable>; refresh_token: z.ZodNullable>; tokenType: z.ZodOptional; token_type: z.ZodOptional; expires_in: z.ZodOptional; expiresIn: z.ZodOptional; }, z.core.$strip>;