interface BridgeQueryFunctions {
    connect?: (
        id: string,
        maxDepth?: number,
    ) => Promisable<undefined | Lowercase<string>>;
    disconnect?: (
        id: string,
        maxDepth?: number,
    ) => Promisable<undefined | Lowercase<string>>;
    expose: (
        id: string,
        options?: BridgeExposeOptions,
    ) => Promisable<
        ModuleInstance<
            BaseParamsFields & {
                account?: AccountInstance
                | "random";
                additionalSigners?: AccountInstance[];
                addToResolvers?: boolean;
                allowNameResolution?: boolean;
                config: AnyConfigSchema<ModuleConfig<void, void>>;
                ephemeralQueryAccountEnabled?: boolean;
                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                privateChildren?: ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>[];
                publicChildren?: ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>[];
            },
            ModuleEventData<object>,
        >[],
    >;
    unexpose?: (
        id: string,
        options?: BridgeUnexposeOptions,
    ) => Promisable<Lowercase<string>[]>;
}

Hierarchy (View Summary)

Properties

connect?: (
    id: string,
    maxDepth?: number,
) => Promisable<undefined | Lowercase<string>>
disconnect?: (
    id: string,
    maxDepth?: number,
) => Promisable<undefined | Lowercase<string>>
expose: (
    id: string,
    options?: BridgeExposeOptions,
) => Promisable<
    ModuleInstance<
        BaseParamsFields & {
            account?: AccountInstance
            | "random";
            additionalSigners?: AccountInstance[];
            addToResolvers?: boolean;
            allowNameResolution?: boolean;
            config: AnyConfigSchema<ModuleConfig<void, void>>;
            ephemeralQueryAccountEnabled?: boolean;
            moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
            privateChildren?: ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>[];
            publicChildren?: ModuleInstance<BaseParamsFields & { account?: AccountInstance | "random" | undefined; addToResolvers?: boolean | undefined; additionalSigners?: AccountInstance[] | undefined; ... 5 more ...; publicChildren?: ModuleInstance<...>[] | undefined; }, ModuleEventData<...>>[];
        },
        ModuleEventData<object>,
    >[],
>
unexpose?: (
    id: string,
    options?: BridgeUnexposeOptions,
) => Promisable<Lowercase<string>[]>