import { PublishCommandInput as BaseCommandInput, PublishCommandOutput as BaseCommandOutput, SNSClientResolvedConfig as ResolvedConfiguration } from "@aws-sdk/client-sns"; import { Handler, MiddlewareStack } from "@aws-sdk/types"; import { Command } from "@smithy/smithy-client"; import { MaterializedTopicProps as MaterializedTopicProps, TopicArn } from "../../aws-sns/topic.js"; import { ServiceInputTypes, ServiceOutputTypes } from "../sns-client.js"; export type PublishCommandInput = Omit & { TopicArn: TopicArn; Message: T["message"]; } & (T["messageGroupId"] extends never ? {} : { MessageGroupId: T["messageGroupId"]; }) & (T["messageDeduplicationId"] extends never ? {} : { MessageDeduplicationId: T["messageDeduplicationId"]; }) & (T["messageAttributes"] extends never ? {} : { MessageAttributes: T["messageAttributes"]; }); export interface PublishCommandOutput extends BaseCommandOutput { } export declare class PublishCommand implements Command { input: any; middlewareStack: any; resolveMiddleware: (clientStack: MiddlewareStack, configuration: ResolvedConfiguration, options: any) => Handler; constructor(input: PublishCommandInput); }