import * as z from 'zod';
declare const IcrcScopeMethodSchema: z.ZodObject<{
    method: z.ZodEnum<["icrc27_accounts", "icrc49_call_canister"]>;
}, "strip", z.ZodTypeAny, {
    method: "icrc27_accounts" | "icrc49_call_canister";
}, {
    method: "icrc27_accounts" | "icrc49_call_canister";
}>;
export type IcrcScopeMethod = z.infer<typeof IcrcScopeMethodSchema>;
export declare const IcrcScopeSchema: z.ZodObject<{
    scope: z.ZodObject<{
        method: z.ZodEnum<["icrc27_accounts", "icrc49_call_canister"]>;
    }, "strip", z.ZodTypeAny, {
        method: "icrc27_accounts" | "icrc49_call_canister";
    }, {
        method: "icrc27_accounts" | "icrc49_call_canister";
    }>;
    state: z.ZodEnum<["granted", "denied", "ask_on_use"]>;
}, "strict", z.ZodTypeAny, {
    state: "denied" | "granted" | "ask_on_use";
    scope: {
        method: "icrc27_accounts" | "icrc49_call_canister";
    };
}, {
    state: "denied" | "granted" | "ask_on_use";
    scope: {
        method: "icrc27_accounts" | "icrc49_call_canister";
    };
}>;
export type IcrcScope = z.infer<typeof IcrcScopeSchema>;
export declare const IcrcScopesArraySchema: z.ZodArray<z.ZodObject<{
    scope: z.ZodObject<{
        method: z.ZodEnum<["icrc27_accounts", "icrc49_call_canister"]>;
    }, "strip", z.ZodTypeAny, {
        method: "icrc27_accounts" | "icrc49_call_canister";
    }, {
        method: "icrc27_accounts" | "icrc49_call_canister";
    }>;
    state: z.ZodEnum<["granted", "denied", "ask_on_use"]>;
}, "strict", z.ZodTypeAny, {
    state: "denied" | "granted" | "ask_on_use";
    scope: {
        method: "icrc27_accounts" | "icrc49_call_canister";
    };
}, {
    state: "denied" | "granted" | "ask_on_use";
    scope: {
        method: "icrc27_accounts" | "icrc49_call_canister";
    };
}>, "many">;
export type IcrcScopesArray = z.infer<typeof IcrcScopesArraySchema>;
export declare const IcrcScopesSchema: z.ZodObject<{
    scopes: z.ZodArray<z.ZodObject<{
        scope: z.ZodObject<{
            method: z.ZodEnum<["icrc27_accounts", "icrc49_call_canister"]>;
        }, "strip", z.ZodTypeAny, {
            method: "icrc27_accounts" | "icrc49_call_canister";
        }, {
            method: "icrc27_accounts" | "icrc49_call_canister";
        }>;
        state: z.ZodEnum<["granted", "denied", "ask_on_use"]>;
    }, "strict", z.ZodTypeAny, {
        state: "denied" | "granted" | "ask_on_use";
        scope: {
            method: "icrc27_accounts" | "icrc49_call_canister";
        };
    }, {
        state: "denied" | "granted" | "ask_on_use";
        scope: {
            method: "icrc27_accounts" | "icrc49_call_canister";
        };
    }>, "many">;
}, "strict", z.ZodTypeAny, {
    scopes: {
        state: "denied" | "granted" | "ask_on_use";
        scope: {
            method: "icrc27_accounts" | "icrc49_call_canister";
        };
    }[];
}, {
    scopes: {
        state: "denied" | "granted" | "ask_on_use";
        scope: {
            method: "icrc27_accounts" | "icrc49_call_canister";
        };
    }[];
}>;
export type IcrcScopes = z.infer<typeof IcrcScopesSchema>;
export declare const IcrcScopesResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
    jsonrpc: z.ZodLiteral<"2.0">;
    id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
}, {
    id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;
}>, {
    error: z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>;
}>, "error">, {
    result: z.ZodOptional<z.ZodObject<{
        scopes: z.ZodArray<z.ZodObject<{
            scope: z.ZodObject<{
                method: z.ZodEnum<["icrc27_accounts", "icrc49_call_canister"]>;
            }, "strip", z.ZodTypeAny, {
                method: "icrc27_accounts" | "icrc49_call_canister";
            }, {
                method: "icrc27_accounts" | "icrc49_call_canister";
            }>;
            state: z.ZodEnum<["granted", "denied", "ask_on_use"]>;
        }, "strict", z.ZodTypeAny, {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }, {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }>, "many">;
    }, "strict", z.ZodTypeAny, {
        scopes: {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }[];
    }, {
        scopes: {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }[];
    }>>;
    error: z.ZodOptional<z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>>;
}>, "strict", z.ZodTypeAny, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        scopes: {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }[];
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        scopes: {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }[];
    } | undefined;
}>, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        scopes: {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }[];
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        scopes: {
            state: "denied" | "granted" | "ask_on_use";
            scope: {
                method: "icrc27_accounts" | "icrc49_call_canister";
            };
        }[];
    } | undefined;
}>;
export type IcrcScopesResponse = z.infer<typeof IcrcScopesResponseSchema>;
export declare const IcrcSupportedStandardsSchema: z.ZodArray<z.ZodObject<{
    name: z.ZodEnum<["ICRC-21", "ICRC-25", "ICRC-27", "ICRC-29", "ICRC-49"]>;
    url: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
    url: string;
    name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
}, {
    url: string;
    name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
}>, "many">;
export type IcrcSupportedStandards = z.infer<typeof IcrcSupportedStandardsSchema>;
export declare const IcrcSupportedStandardsResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
    jsonrpc: z.ZodLiteral<"2.0">;
    id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
}, {
    id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;
}>, {
    error: z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>;
}>, "error">, {
    result: z.ZodOptional<z.ZodObject<{
        supportedStandards: z.ZodArray<z.ZodObject<{
            name: z.ZodEnum<["ICRC-21", "ICRC-25", "ICRC-27", "ICRC-29", "ICRC-49"]>;
            url: z.ZodEffects<z.ZodString, string, string>;
        }, "strict", z.ZodTypeAny, {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }, {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }>, "many">;
    }, "strip", z.ZodTypeAny, {
        supportedStandards: {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }[];
    }, {
        supportedStandards: {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }[];
    }>>;
    error: z.ZodOptional<z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>>;
}>, "strict", z.ZodTypeAny, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        supportedStandards: {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }[];
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        supportedStandards: {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }[];
    } | undefined;
}>, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        supportedStandards: {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }[];
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        supportedStandards: {
            url: string;
            name: "ICRC-21" | "ICRC-25" | "ICRC-27" | "ICRC-29" | "ICRC-49";
        }[];
    } | undefined;
}>;
export type IcrcSupportedStandardsResponse = z.infer<typeof IcrcSupportedStandardsResponseSchema>;
export declare const IcrcReadyResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
    jsonrpc: z.ZodLiteral<"2.0">;
    id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
}, {
    id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;
}>, {
    error: z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>;
}>, "error">, {
    result: z.ZodOptional<z.ZodLiteral<"ready">>;
    error: z.ZodOptional<z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>>;
}>, "strict", z.ZodTypeAny, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: "ready" | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: "ready" | undefined;
}>, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: "ready" | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: "ready" | undefined;
}>;
export type IcrcReadyResponse = z.infer<typeof IcrcReadyResponseSchema>;
export declare const IcrcAccountsResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
    jsonrpc: z.ZodLiteral<"2.0">;
    id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
}, {
    id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;
}>, {
    error: z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>;
}>, "error">, {
    result: z.ZodOptional<z.ZodObject<{
        accounts: z.ZodArray<z.ZodObject<{
            owner: z.ZodEffects<z.ZodString, string, string>;
            subaccount: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
        }, "strict", z.ZodTypeAny, {
            owner: string;
            subaccount?: string | undefined;
        }, {
            owner: string;
            subaccount?: string | undefined;
        }>, "many">;
    }, "strip", z.ZodTypeAny, {
        accounts: {
            owner: string;
            subaccount?: string | undefined;
        }[];
    }, {
        accounts: {
            owner: string;
            subaccount?: string | undefined;
        }[];
    }>>;
    error: z.ZodOptional<z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>>;
}>, "strict", z.ZodTypeAny, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        accounts: {
            owner: string;
            subaccount?: string | undefined;
        }[];
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        accounts: {
            owner: string;
            subaccount?: string | undefined;
        }[];
    } | undefined;
}>, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        accounts: {
            owner: string;
            subaccount?: string | undefined;
        }[];
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        accounts: {
            owner: string;
            subaccount?: string | undefined;
        }[];
    } | undefined;
}>;
export type IcrcAccountsResponse = z.infer<typeof IcrcAccountsResponseSchema>;
export declare const IcrcCallCanisterResultSchema: z.ZodObject<{
    contentMap: z.ZodEffects<z.ZodString, string, string>;
    certificate: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
    certificate: string;
    contentMap: string;
}, {
    certificate: string;
    contentMap: string;
}>;
export type IcrcCallCanisterResult = z.infer<typeof IcrcCallCanisterResultSchema>;
export declare const IcrcCallCanisterResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
    jsonrpc: z.ZodLiteral<"2.0">;
    id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
}, {
    id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;
}>, {
    error: z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>;
}>, "error">, {
    result: z.ZodOptional<z.ZodObject<{
        contentMap: z.ZodEffects<z.ZodString, string, string>;
        certificate: z.ZodEffects<z.ZodString, string, string>;
    }, "strict", z.ZodTypeAny, {
        certificate: string;
        contentMap: string;
    }, {
        certificate: string;
        contentMap: string;
    }>>;
    error: z.ZodOptional<z.ZodObject<{
        code: z.ZodUnion<[z.ZodNumber, z.ZodNativeEnum<typeof import("./rpc").RpcErrorCode>]>;
        message: z.ZodString;
        data: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        code: number;
        message: string;
        data?: undefined;
    }, {
        code: number;
        message: string;
        data?: undefined;
    }>>;
}>, "strict", z.ZodTypeAny, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        certificate: string;
        contentMap: string;
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        certificate: string;
        contentMap: string;
    } | undefined;
}>, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        certificate: string;
        contentMap: string;
    } | undefined;
}, {
    id: string | number | null;
    jsonrpc: "2.0";
    error?: {
        code: number;
        message: string;
        data?: undefined;
    } | undefined;
    result?: {
        certificate: string;
        contentMap: string;
    } | undefined;
}>;
export type IcrcCallCanisterResponse = z.infer<typeof IcrcCallCanisterResponseSchema>;
export {};
