import * as EffectSchema from 'effect/Schema';
export declare const PublicSpaceSchema: EffectSchema.Struct<{
    id: typeof EffectSchema.String;
    name: typeof EffectSchema.String;
    avatar: EffectSchema.optional<typeof EffectSchema.String>;
}>;
export type PublicSpace = typeof PublicSpaceSchema.Type;
type SpacesQueryResult = {
    spaces?: {
        id: string;
        page: {
            name?: string | null;
            relationsList?: {
                toEntity?: {
                    valuesList?: {
                        propertyId: string;
                        string: string | null;
                    }[];
                } | null;
            }[];
        } | null;
    }[];
};
export declare const parseSpacesQueryResult: (queryResult: SpacesQueryResult) => {
    data: {
        readonly name: string;
        readonly id: string;
        readonly avatar?: string | undefined;
    }[];
    invalidSpaces: Record<string, unknown>[];
};
export type FindManyPublicFilter = Readonly<{
    memberAccountAddress: string;
    editorAccountAddress?: never;
}> | Readonly<{
    editorAccountAddress: string;
    memberAccountAddress?: never;
}> | Readonly<{
    memberAccountAddress?: undefined;
    editorAccountAddress?: undefined;
}>;
export type FindManyPublicParams = Readonly<{
    filter?: FindManyPublicFilter;
}>;
export declare const findManyPublic: (params?: FindManyPublicParams) => Promise<{
    data: {
        readonly name: string;
        readonly id: string;
        readonly avatar?: string | undefined;
    }[];
    invalidSpaces: Record<string, unknown>[];
}>;
export {};
//# sourceMappingURL=find-many-public.d.ts.map